* Re: [PATCH 2/2] Add ti,dac7311 device tree bindings in documentation [not found] ` <20181006203108.20439-2-charles-antoine.couret@essensium.com> @ 2018-10-07 16:38 ` Jonathan Cameron 0 siblings, 0 replies; 2+ messages in thread From: Jonathan Cameron @ 2018-10-07 16:38 UTC (permalink / raw) To: Charles-Antoine Couret; +Cc: linux-iio, devicetree, Mark Rutland, Rob Herring On Sat, 6 Oct 2018 22:31:08 +0200 Charles-Antoine Couret <charles-antoine.couret@essensium.com> wrote: > Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com> + devicetree list and maintainers. > --- > .../bindings/iio/dac/ti,dac7311.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > > diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > new file mode 100644 > index 000000000000..77fd4370f815 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > @@ -0,0 +1,20 @@ > +TI DAC7311 DEVICETREE BINDINGS Why all these capitals? > + > +Required properties: > + > +- compatible: Must be set to "ti,dac7311", "ti,dac6311" or "ti,dac5311" > +- reg: spi chip select number for the device > +- vref-supply: The regulator supply for ADC reference voltage > +- spi-max-frequency: Max SPI frequency to use (< 50000000) > + > +Example: > + > + spi_master { > + dac7311: dac7311@0 { > + compatible = "ti,dac7311"; > + reg = <0>; /* CS0 */ > + spi-max-frequency = <1000000>; > + vref-supply = <&vdd_supply>; > + }; > + }; > + ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <20181017203738.13477-1-charles-antoine.couret@essensium.com>]
[parent not found: <20181017203738.13477-2-charles-antoine.couret@essensium.com>]
* Re: [PATCH 2/2] Add ti,dac7311 device tree bindings in documentation [not found] ` <20181017203738.13477-2-charles-antoine.couret@essensium.com> @ 2018-10-21 14:58 ` Jonathan Cameron 0 siblings, 0 replies; 2+ messages in thread From: Jonathan Cameron @ 2018-10-21 14:58 UTC (permalink / raw) To: Charles-Antoine Couret; +Cc: linux-iio, Rob Herring, Mark Rutland, devicetree On Wed, 17 Oct 2018 22:37:38 +0200 Charles-Antoine Couret <charles-antoine.couret@essensium.com> wrote: Would be good to have a small amount of description here + it seems you didn't sign off on this patch so we can't apply it to the kernel. Please cc devicetree list and maintainers for any devicetree bindings. +cc Rob, Mark and list. Thanks, Jonathan > --- > .../bindings/iio/dac/ti,dac7311.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > > diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > new file mode 100644 > index 000000000000..771414024cd0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt > @@ -0,0 +1,20 @@ > +TI DAC7311 device tree bindings > + > +Required properties: > + > +- compatible: Must be set to "ti,dac7311", "ti,dac6311" or "ti,dac5311" > +- reg: spi chip select number for the device > +- vref-supply: The regulator supply for ADC reference voltage > +- spi-max-frequency: Max SPI frequency to use (< 50000000) > + > +Example: > + > + spi_master { > + dac7311: dac7311@0 { Not sure why you need the pre colon bit here. Also I'd imagine the standard naming for a dac is probably dac@0 (I haven't checked the devicetree spec to see if they actually have that one in there as I'm on a train with dodgy wifi). Jonathan > + compatible = "ti,dac7311"; > + reg = <0>; /* CS0 */ > + spi-max-frequency = <1000000>; > + vref-supply = <&vdd_supply>; > + }; > + }; > + ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-21 14:58 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20181006203108.20439-1-charles-antoine.couret@essensium.com> [not found] ` <20181006203108.20439-2-charles-antoine.couret@essensium.com> 2018-10-07 16:38 ` [PATCH 2/2] Add ti,dac7311 device tree bindings in documentation Jonathan Cameron [not found] <20181017203738.13477-1-charles-antoine.couret@essensium.com> [not found] ` <20181017203738.13477-2-charles-antoine.couret@essensium.com> 2018-10-21 14:58 ` Jonathan Cameron
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).