Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528102 > unrolled thread
| Started by | David Lechner <david@lechnology.com> |
|---|---|
| First post | 2016-11-23 04:40 +0100 |
| Last post | 2016-11-24 15:10 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd David Lechner <david@lechnology.com> - 2016-11-23 04:40 +0100
Re: [PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd Sekhar Nori <nsekhar@ti.com> - 2016-11-23 12:10 +0100
Re: [PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd Linus Walleij <linus.walleij@linaro.org> - 2016-11-24 15:10 +0100
| From | David Lechner <david@lechnology.com> |
|---|---|
| Date | 2016-11-23 04:40 +0100 |
| Subject | [PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd |
| Message-ID | <sGwzD-7Rr-1@gated-at.bofh.it> |
Device-tree bindings for TI DA8XX/OMAP-L138/AM18XX pullup/pulldown
pinconf controller.
Signed-off-by: David Lechner <david@lechnology.com>
---
.../devicetree/bindings/pinctrl/ti,da850-pupd.txt | 55 ++++++++++++++++++++++
1 file changed, 55 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,da850-pupd.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/ti,da850-pupd.txt b/Documentation/devicetree/bindings/pinctrl/ti,da850-pupd.txt
new file mode 100644
index 0000000..7f29805
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/ti,da850-pupd.txt
@@ -0,0 +1,55 @@
+* Pin configuration for TI DA850/OMAP-L138/AM18x
+
+These SoCs have a separate controller for setting bias (internal pullup/down).
+Bias can only be selected for groups rather than individual pins.
+
+Required Properties:
+
+ - compatible: Must be "ti,da850-pupd"
+ - reg: Base address and length of the memory resource used by the pullup/down
+ controller hardware module.
+
+The controller node also acts as a container for pin group configuration nodes.
+The names of these groups are ignored.
+
+Pin Group Node Properties:
+
+- groups: An array of strings, each string containing the name of a pin group.
+ Valid names are "cp0".."cp31".
+
+The pin configuration parameters use the generic pinconf bindings defined in
+pinctrl-bindings.txt in this directory. The supported parameters are
+bias-disable, bias-pull-up, bias-pull-down.
+
+
+Example
+-------
+
+In common dtsi file:
+
+ pinconf: pin-controller@22c00c {
+ compatible = "ti,da850-pupd";
+ reg = <0x22c00c 0x8>;
+ };
+
+In board-specific file:
+
+ &pinconf {
+ pinctrl-0 = <&pinconf_bias_groups>;
+ pinctrl-names = "default";
+
+ pinconf_bias_groups: bias-groups {
+ pull-up {
+ groups = "cp30", "cp31";
+ bias-pull-up;
+ };
+ pull-down {
+ groups = "cp29", "cp28";
+ bias-pull-down;
+ };
+ disable {
+ groups = "cp27", "cp26";
+ bias-disable;
+ };
+ };
+ };
--
2.7.4
[toc] | [next] | [standalone]
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-11-23 12:10 +0100 |
| Subject | Re: [PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd |
| Message-ID | <sGDB8-45R-11@gated-at.bofh.it> |
| In reply to | #1528102 |
On Wednesday 23 November 2016 08:59 AM, David Lechner wrote: > Device-tree bindings for TI DA8XX/OMAP-L138/AM18XX pullup/pulldown s/DA8XX/DA850. It looks like this support is absent from DA830. > pinconf controller. > > Signed-off-by: David Lechner <david@lechnology.com> Thanks, Sekhar
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2016-11-24 15:10 +0100 |
| Message-ID | <sH2SR-3MJ-11@gated-at.bofh.it> |
| In reply to | #1528102 |
On Wed, Nov 23, 2016 at 4:29 AM, David Lechner <david@lechnology.com> wrote: > Device-tree bindings for TI DA8XX/OMAP-L138/AM18XX pullup/pulldown > pinconf controller. > > Signed-off-by: David Lechner <david@lechnology.com> Looks good to me. Yours, Linus Walleij
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web