[PATCH RFC] gpio controlled clock

Jyri Sarha jsarha at ti.com
Fri Nov 1 10:01:19 EDT 2013


The patch implements a basic clock that can be enabled and disabled
trough a gpio output. There is such a clock at least on
Beaglebone-Black and I need such a clock to implement HDMI audio
support for the board. I just thought this simple driver could be
useful for wider audience.

Best regards,
Jyri

Jyri Sarha (1):
  clk: add gpio controlled clock

 .../devicetree/bindings/clock/gpio-clock.txt       |   21 +++
 drivers/clk/Makefile                               |    1 +
 drivers/clk/clk-gpio.c                             |  154 ++++++++++++++++++++
 include/linux/clk-provider.h                       |   25 ++++
 4 files changed, 201 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/gpio-clock.txt
 create mode 100644 drivers/clk/clk-gpio.c

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list