From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> To: Lee Jones <lee.jones@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org>, Alexandre Courbot <gnurou@gmail.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Frank Rowand <frowand.list@gmail.com>, Wolfram Sang <wsa@the-dreams.de>, Richard Purdie <rpurdie@rpsys.net>, Jacek Anaszewski <j.anaszewski@samsung.com>, Jean Delvare <jdelvare@suse.com>, Peter Rosin <peda@axentia.se>, Avirup Banerjee <abanerjee@juniper.net>, Georgi Vlaev <gvlaev@juniper.net>, Guenter Roeck <linux@roeck-us.net>, JawaharBalaji Thirumalaisamy <jawaharb@juniper.net>, Pantelis Antoniou <pantelis.antoniou@konsulko.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-leds@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: [PATCH 08/10] leds: Add binding for Juniper's I2CS FPGA Date: Fri, 7 Oct 2016 18:21:07 +0300 [thread overview] Message-ID: <1475853669-22480-9-git-send-email-pantelis.antoniou@konsulko.com> (raw) In-Reply-To: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> From: Georgi Vlaev <gvlaev@juniper.net> Document bindings for the I2CS FPGA leds. Signed-off-by: Georgi Vlaev <gvlaev@juniper.net> [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> --- .../devicetree/bindings/leds/leds-i2cs.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-i2cs.txt diff --git a/Documentation/devicetree/bindings/leds/leds-i2cs.txt b/Documentation/devicetree/bindings/leds/leds-i2cs.txt new file mode 100644 index 0000000..100e584 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-i2cs.txt @@ -0,0 +1,34 @@ +Juniper I2CS LED driver. + +This is present in Juniper platforms that use a I2CS Slave FPGA. + +Required properties: + - compatible: must be "jnx,leds-i2cs" + - #address-cells : must be 1. + - #size-cells : must be 0. + +Each led is represented as a sub-node of the jnx,leds-i2cs device. + +LED sub-node properties: +- label : (optional) see Documentation/devicetree/bindings/leds/common.txt +- reg : number of LED +- linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt + +Example: + +leds_fpc0: leds-jnx-i2cs { + compatible = "jnx,leds-i2cs"; + #address-cells = <1>; + #size-cells = <0>; + + fpc0-fail { + reg = <1>; + linux,default-trigger = "fpc0-fail"; + }; + + fpc0-ok { + reg = <2>; + linux,default-trigger = "fpc0-ok"; + }; +}; -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> To: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Cc: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>, Frank Rowand <frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>, Richard Purdie <rpurdie-Fm38FmjxZ/leoWH0uzbU5w@public.gmane.org>, Jacek Anaszewski <j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>, Jean Delvare <jdelvare-IBi9RG/b67k@public.gmane.org>, Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>, Avirup Banerjee <abanerjee-3r7Miqu9kMnR7s880joybQ@public.gmane.org>, Georgi Vlaev <gvlaev-3r7Miqu9kMnR7s880joybQ@public.gmane.org>, Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>, JawaharBalaji Thirumalaisamy <jawaharb-3r7Miqu9kMnR7s880joybQ@public.gmane.org>, Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 08/10] leds: Add binding for Juniper's I2CS FPGA Date: Fri, 7 Oct 2016 18:21:07 +0300 [thread overview] Message-ID: <1475853669-22480-9-git-send-email-pantelis.antoniou@konsulko.com> (raw) In-Reply-To: <1475853669-22480-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> From: Georgi Vlaev <gvlaev-3r7Miqu9kMnR7s880joybQ@public.gmane.org> Document bindings for the I2CS FPGA leds. Signed-off-by: Georgi Vlaev <gvlaev-3r7Miqu9kMnR7s880joybQ@public.gmane.org> [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> --- .../devicetree/bindings/leds/leds-i2cs.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-i2cs.txt diff --git a/Documentation/devicetree/bindings/leds/leds-i2cs.txt b/Documentation/devicetree/bindings/leds/leds-i2cs.txt new file mode 100644 index 0000000..100e584 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-i2cs.txt @@ -0,0 +1,34 @@ +Juniper I2CS LED driver. + +This is present in Juniper platforms that use a I2CS Slave FPGA. + +Required properties: + - compatible: must be "jnx,leds-i2cs" + - #address-cells : must be 1. + - #size-cells : must be 0. + +Each led is represented as a sub-node of the jnx,leds-i2cs device. + +LED sub-node properties: +- label : (optional) see Documentation/devicetree/bindings/leds/common.txt +- reg : number of LED +- linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt + +Example: + +leds_fpc0: leds-jnx-i2cs { + compatible = "jnx,leds-i2cs"; + #address-cells = <1>; + #size-cells = <0>; + + fpc0-fail { + reg = <1>; + linux,default-trigger = "fpc0-fail"; + }; + + fpc0-ok { + reg = <2>; + linux,default-trigger = "fpc0-ok"; + }; +}; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-10-07 15:21 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-10-07 15:20 [PATCH 00/10] Introduce Juniper I2CS FPGA driver Pantelis Antoniou 2016-10-07 15:21 ` [PATCH 01/10] mfd: Add Juniper I2CS MFD driver Pantelis Antoniou 2016-10-07 15:21 ` Pantelis Antoniou 2016-10-07 15:21 ` [PATCH 02/10] mfd: dt-bindings: Add bindings for the Juniper I2CS MFD Pantelis Antoniou 2016-10-10 20:23 ` Rob Herring 2016-10-17 19:10 ` Pantelis Antoniou 2016-10-07 15:21 ` [PATCH 03/10] i2c/muxes: Juniper I2CS RE mux Pantelis Antoniou 2016-10-07 15:21 ` Pantelis Antoniou 2016-10-10 15:29 ` Peter Rosin 2016-10-10 15:29 ` Peter Rosin 2016-10-07 15:21 ` [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings Pantelis Antoniou 2016-10-10 15:48 ` Peter Rosin 2016-10-10 15:48 ` Peter Rosin 2016-10-17 19:11 ` Pantelis Antoniou 2016-10-10 20:25 ` Rob Herring 2016-10-07 15:21 ` [PATCH 05/10] gpio: i2cs: Juniper I2CS to GPIO pin mapping driver Pantelis Antoniou 2016-10-21 8:41 ` Linus Walleij 2016-10-21 8:41 ` Linus Walleij 2016-10-07 15:21 ` [PATCH 06/10] gpio: gpio-i2cs: Document bindings of I2CS FPGA GPIO block Pantelis Antoniou 2016-10-21 8:59 ` Linus Walleij 2016-10-21 8:59 ` Linus Walleij 2016-10-07 15:21 ` [PATCH 07/10] leds: i2cs: Add I2CS FPGA leds driver Pantelis Antoniou 2016-10-10 9:41 ` Jacek Anaszewski 2016-10-07 15:21 ` Pantelis Antoniou [this message] 2016-10-07 15:21 ` [PATCH 08/10] leds: Add binding for Juniper's I2CS FPGA Pantelis Antoniou 2016-10-10 9:41 ` Jacek Anaszewski 2016-10-07 15:21 ` [PATCH 09/10] hwmon: Add driver for Fan Tray on Juniper I2CS FGPA Pantelis Antoniou 2016-10-07 15:21 ` [PATCH 10/10] hwmon: i2cs-fan: Add hwmon dts binding documentation Pantelis Antoniou 2016-10-10 20:29 ` Rob Herring 2016-10-17 19:12 ` Pantelis Antoniou
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1475853669-22480-9-git-send-email-pantelis.antoniou@konsulko.com \ --to=pantelis.antoniou@konsulko.com \ --cc=abanerjee@juniper.net \ --cc=devicetree@vger.kernel.org \ --cc=frowand.list@gmail.com \ --cc=gnurou@gmail.com \ --cc=gvlaev@juniper.net \ --cc=j.anaszewski@samsung.com \ --cc=jawaharb@juniper.net \ --cc=jdelvare@suse.com \ --cc=lee.jones@linaro.org \ --cc=linus.walleij@linaro.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-hwmon@vger.kernel.org \ --cc=linux-i2c@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-leds@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=mark.rutland@arm.com \ --cc=peda@axentia.se \ --cc=robh+dt@kernel.org \ --cc=rpurdie@rpsys.net \ --cc=wsa@the-dreams.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.