From: Jules Maselbas Subject: Re: [PATCH v2 2/2] dt-bindings: max3421: Add bindings documentation Date: Mon, 16 Oct 2017 23:22:38 +0200 (CEST) Message-ID: <1452233455.381184.1508188958452.JavaMail.zimbra@grenoble-inp.org> References: <832170edafa26b7b2bed76afe170f1c9c4f7b9ae.1508108927.git.jules.maselbas@grenoble-inp.org> <6a3f35f1-dae9-063d-963e-812a7341f612@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <6a3f35f1-dae9-063d-963e-812a7341f612-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sergei Shtylyov Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, julia lawall , robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Thanks Sergei, Is it better if the documentation say: " Optional property: - interrupt-parent: the phandle of the associated interrupt controller. " or should I also add that "it may be inherited from the parent nodes."? Jules Maselbas. ----- Mail original ----- De: "Sergei Shtylyov" À: "Jules Maselbas" , gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org Cc: "julia lawall" , robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, "mark rutland" , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Envoyé: Lundi 16 Octobre 2017 22:21:53 Objet: Re: [PATCH v2 2/2] dt-bindings: max3421: Add bindings documentation On 10/16/2017 12:04 PM, Sergei Shtylyov wrote: >> Adds bindings documentation for the max3421 driver. >> >> Signed-off-by: Jules Maselbas >> --- >> .../devicetree/bindings/usb/maxim,max3421.txt | 24 >> ++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/usb/maxim,max3421.txt >> >> diff --git a/Documentation/devicetree/bindings/usb/maxim,max3421.txt >> b/Documentation/devicetree/bindings/usb/maxim,max3421.txt >> new file mode 100644 >> index 000000000000..7536c3ab3e5a >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/usb/maxim,max3421.txt >> @@ -0,0 +1,24 @@ >> +Maxim Integrated SPI-based USB 2.0 host controller MAX3421E >> + >> +Required properties: >> + - compatible: "maxim,max3421" >> + - spi-max-frequency: maximum frequency for this device must not exceed 26 >> MHz. >> + - reg: chip select number to which this device is connected. >> + - maxim,vbus-en-pin: >> + GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus. >> + ACTIVE_LEVEL is 0 or 1. >> + - interrupt-parent: the phandle of the associated interrupt controller. > > This is never a required prob, it may be inherited from the parent nodes. Prop, sorry. :-) [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html