this patchset add support of CEC wakeup.
We need to set logical address and activate some options in registers before going in suspend.
Registers address and options values come from amlogic driver.
Guillaume La Roque (3):
media: dt-bindings: media: meson-ao-cec: Add support of ao-sysctrl
syscon
arm64: dts: meson-g12g12: add syscon phandle in cec node
media: platform: meson-ao-cec-g12a: add wakeup support
.../media/amlogic,meson-gx-ao-cec.yaml | 4 +++
.../boot/dts/amlogic/meson-g12-common.dtsi | 1 +
drivers/media/platform/meson/ao-cec-g12a.c | 33 +++++++++++++++++++
3 files changed, 38 insertions(+)
--
2.17.1
add syscon phandle in cec node to activate wakeup support
Signed-off-by: Guillaume La Roque <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index 7fabc8d9654a..98c6a1d1d035 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -1899,6 +1899,7 @@
interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc_AO CLKID_AO_CTS_OSCIN>;
clock-names = "oscin";
+ amlogic,ao-sysctrl = <&rti>;
status = "disabled";
};
--
2.17.1
Guillaume La Roque <[email protected]> writes:
> this patchset add support of CEC wakeup.
> We need to set logical address and activate some options in registers before going in suspend.
> Registers address and options values come from amlogic driver.
Tested-by: Kevin Hilman <[email protected]>