iio: adc: rcar-gyroadc: Drop if clock from Renesas GyroADC bindings

The "if" interface clock speed is actually derived from the "fck"
block clock, as in the hardware they are the same clock. Drop the
incorrect second "if" clock and retain only the "fck" clock.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Rob Herring <robh@kernel.org>
Cc: linux-renesas-soc@vger.kernel.org
To: devicetree@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Marek Vasut 2017-04-20 17:42:16 +02:00 committed by Jonathan Cameron
parent 1a732f4211
commit 80a49fd824

View File

@ -16,8 +16,7 @@ Required properties:
- clocks: References to all the clocks specified in the clock-names - clocks: References to all the clocks specified in the clock-names
property as specified in property as specified in
Documentation/devicetree/bindings/clock/clock-bindings.txt. Documentation/devicetree/bindings/clock/clock-bindings.txt.
- clock-names: Shall contain "fck" and "if". The "fck" is the GyroADC block - clock-names: Shall contain "fck". The "fck" is the GyroADC block clock.
clock, the "if" is the interface clock.
- power-domains: Must contain a reference to the PM domain, if available. - power-domains: Must contain a reference to the PM domain, if available.
- #address-cells: Should be <1> (setting for the subnodes) for all ADCs - #address-cells: Should be <1> (setting for the subnodes) for all ADCs
except for "fujitsu,mb88101a". Should be <0> (setting for except for "fujitsu,mb88101a". Should be <0> (setting for
@ -75,8 +74,8 @@ Example:
adc@e6e54000 { adc@e6e54000 {
compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc"; compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc";
reg = <0 0xe6e54000 0 64>; reg = <0 0xe6e54000 0 64>;
clocks = <&mstp9_clks R8A7791_CLK_GYROADC>, <&clk_65m>; clocks = <&mstp9_clks R8A7791_CLK_GYROADC>;
clock-names = "fck", "if"; clock-names = "fck";
power-domains = <&sysc R8A7791_PD_ALWAYS_ON>; power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
pinctrl-0 = <&adc_pins>; pinctrl-0 = <&adc_pins>;