Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1419409
| From | Javier Martinez Canillas <javier@dowhile0.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] clk: max77620: Add DT binding doc for MAX77620 clock |
| Date | 2016-06-10 15:30 +0200 |
| Message-ID | <rIuFA-55o-23@gated-at.bofh.it> (permalink) |
| References | <rIrRo-3lN-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello Laxman,
On Fri, Jun 10, 2016 at 6:12 AM, Laxman Dewangan <ldewangan@nvidia.com> wrote:
> MAXIM MAX77620 is the power management IC with multiple DCDC/LDO
> regulators, RTC, GPIOs, Watchdog, 32KHz clock source etc.
>
> Add DT binding doc for the details of the properties for MAX76620
> clocks.
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> ---
> .../devicetree/bindings/clock/clk-max77620.txt | 31 ++++++++++++++++++++++
The DT binding for the clock outputs found in the other Maxim PMICs
(max77686 and max77802) are named maxim,max77{686,802} so I think it
would be better to call this maxim,max7720 for consistency.
> 1 file changed, 31 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/clk-max77620.txt
>
> diff --git a/Documentation/devicetree/bindings/clock/clk-max77620.txt b/Documentation/devicetree/bindings/clock/clk-max77620.txt
> new file mode 100644
> index 0000000..cda6ef7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/clk-max77620.txt
> @@ -0,0 +1,31 @@
> +* Maxim MAX77620 32KHz clocks *
> +
> +Maxim Power Management IC (PMIC) has clock output pins for 32KHz.
> +
I think it would be nice to mention that this should be defined in the
node for the max77620 PMIC and probably have a reference to the MFD
binding. Look how the other max77xxx DT bindings do.
> +This binding uses the common clock binding ./clock-bindings.txt.
> +
> +Required Properties:
> +--------------------
> +
> +-#clock-cells : shall be set to 0.
> +
> +Example:
> +
> +#include <dt-bindings/mfd/max77620.h>
> +...
> +
> +i2c@7000d000 {
> + spmic: max77620@3c {
> + compatible = "maxim,max77620";
> + :::::
> + #clock-cells = <0>;
> + :::
> + };
> +};
> +
> +bluetooth {
> + compatible = "bcom,bluuetooth-device";
> + clocks = <&smic>;
> + clock-names = "in-32k";
> + :::
> +};
> --
Best regards,
Javier
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] clk: max77620: Add DT binding doc for MAX77620 clock Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-10 12:30 +0200
[PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-10 12:30 +0200
Re: [PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Javier Martinez Canillas <javier@dowhile0.org> - 2016-06-10 15:30 +0200
Re: [PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-10 15:30 +0200
Re: [PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Javier Martinez Canillas <javier@dowhile0.org> - 2016-06-10 15:40 +0200
Re: [PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-10 15:50 +0200
Re: [PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-10 16:20 +0200
Re: [PATCH 1/2] clk: max77620: Add DT binding doc for MAX77620 clock Javier Martinez Canillas <javier@dowhile0.org> - 2016-06-10 15:30 +0200
csiph-web