Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: dt-bindings: wilc1000: add optional rtc_clk property

Add bindings for optional rtc clock pin.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/1568037993-4646-1-git-send-email-eugen.hristev@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Eugen Hristev and committed by
Greg Kroah-Hartman
ae8779e1 77b0a841

+15 -1
+7 -1
drivers/staging/wilc1000/microchip,wilc1000,sdio.txt
··· 10 10 11 11 Optional: 12 12 - bus-width : Number of data lines wired up the slot. Default 1 bit. 13 - 13 + - rtc_clk : Clock connected on the rtc clock line. Must be assigned 14 + a frequency with assigned-clocks property, and must be 15 + connected to a clock provider. 14 16 15 17 Examples: 16 18 mmc1: mmc@fc000000 { ··· 26 24 wilc_sdio@0 { 27 25 compatible = "microchip,wilc1000-sdio"; 28 26 irq-gpios = <&pioC 27 0>; 27 + clocks = <&pck1>; 28 + clock-names = "rtc_clk"; 29 + assigned-clocks = <&pck1>; 30 + assigned-clock-rates = <32768>; 29 31 status = "okay"; 30 32 reg = <0>; 31 33 bus-width = <4>;
+8
drivers/staging/wilc1000/microchip,wilc1000,spi.txt
··· 9 9 - reg : Chip select address of device 10 10 - irq-gpios : Connect to a host IRQ 11 11 12 + Optional: 13 + - rtc_clk : Clock connected on the rtc clock line. Must be assigned 14 + a frequency with assigned-clocks property, and must be 15 + connected to a clock provider. 12 16 13 17 Examples: 14 18 ··· 25 21 spi-max-frequency = <48000000>; 26 22 reg = <0>; 27 23 irq-gpios = <&pioC 27 0>; 24 + clocks = <&pck1>; 25 + clock-names = "rtc_clk"; 26 + assigned-clocks = <&pck1>; 27 + assigned-clock-rates = <32768>; 28 28 status = "okay"; 29 29 }; 30 30 };