Message ID | 20181030102231.4851-3-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | nvmem: meson: efuse updates | expand |
On Tue, 30 Oct 2018 11:22:29 +0100, Jerome Brunet wrote: > The efuse found in gx SoC requires a peripheral clock to properly operate. > We have been able to work without it until now because the clock was on by > default, and left on by the CCF. Soon, it will not be the case anymore, so > the device needs to claim the clock it needs > > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> > --- > Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
On 30/10/18 10:22, Jerome Brunet wrote: > The efuse found in gx SoC requires a peripheral clock to properly operate. > We have been able to work without it until now because the clock was on by > default, and left on by the CCF. Soon, it will not be the case anymore, so > the device needs to claim the clock it needs > > Signed-off-by: Jerome Brunet<jbrunet@baylibre.com> > --- > Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks, -- Srini
diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt index e3298e18de26..2e0723ab3384 100644 --- a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt +++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt @@ -2,6 +2,8 @@ Required properties: - compatible: should be "amlogic,meson-gxbb-efuse" +- clocks: phandle to the efuse peripheral clock provided by the + clock controller. = Data cells = Are child nodes of eFuse, bindings of which as described in @@ -11,6 +13,7 @@ Example: efuse: efuse { compatible = "amlogic,meson-gxbb-efuse"; + clocks = <&clkc CLKID_EFUSE>; #address-cells = <1>; #size-cells = <1>;
The efuse found in gx SoC requires a peripheral clock to properly operate. We have been able to work without it until now because the clock was on by default, and left on by the CCF. Soon, it will not be the case anymore, so the device needs to claim the clock it needs Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt | 3 +++ 1 file changed, 3 insertions(+)