Hi Sven, On 11/19/19 8:03 PM, Sven Van Asbroeck wrote: > On Tue, Nov 19, 2019 at 1:37 PM Dan Murphy <dmurphy@xxxxxx> wrote: >> >>> + >>> +Example (GPIO + led operation): >> What part of the example is GPIO? Is that the default function? > > The gpio function is always available by default. > The mfd driver always adds the gpio mfd_cell. > But no-one has ever implemented a mfd sub-driver for gpio. > >>> + >>> +i2c0 { >>> + tps61052@33 { >>> + compatible = "ti,tps61052"; >>> + reg = <0x33>; >>> + >>> + led { >>> + label = "tps-torch"; >> >> function and color examples? > > No function, no colour. This is a simple led control with 8 intensity > steps. We use it as a led torch on an industrial device. label DT property was recently deprecated. We now encourage using 'function' and/or 'color'. Please refer to Documentation/devicetree/bindings/leds/common.txt. -- Best regards, Jacek Anaszewski