media: platform: Add support for the Amlogic Meson G12A AO CEC Controller
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 0 repliesNew
- v43 patches 1 replySuperseded
- v33 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 2 replies | Superseded | |
| v1 | 3 patches | 5 replies | Superseded |
Changes in v5 from the cover letter
- Rebased on top of [2] to use cec_notifier_parse_hdmi_phandle()
- Added Kconfig dependency on COMMON_CLK and OF, and selects REGMAP & REGMAP_MMIO
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B CompatibleDocumentation/ | +10 | 0 replies | |
| 2/3 | media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driverdrivers/ drivers/ drivers/ | +796 | 0 replies | |
| 3/3 | MAINTAINERS: Update AO CEC with ao-cec-g12a driverMAINTAINERS | +1 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] media: platform: Add support for the Amlogic Meson G12A AO CEC Controller
The Amlogic G12A SoC embeds a second CEC controller with a totally different design.
The two controller can work in the same time since the CEC line can be set to two different pins on the two controllers.
This second CEC controller is documented as "AO-CEC-B", thus the registers will be named "CECB_" to differentiate with the other AO-CEC driver.
Unlike the other AO-CEC controller, this one takes the Oscillator clock as input and embeds a dual-divider to provide a precise 32768Hz clock for communication. This is handled by registering a clock in the driver.
Unlike the other AO-CEC controller, this controller supports setting up to 15 logical addresses and supports the signal_free_time settings in the transmit function.
Unfortunately, this controller does not support "monitor" mode.
This patchset :
- Update the bindings for this controller
- Add the controller driver
- Update the MAINTAINERS entry
Changes since v4:
- Rebased on top of [2] to use cec_notifier_parse_hdmi_phandle()
- Added Kconfig dependency on COMMON_CLK and OF, and selects REGMAP & REGMAP_MMIO
Changes since v3:
- Use the cec_notifier_find_hdmi_dev() introduced in [1]
Changes since v2:
- Really fixed compatible used in driver
- Collected bindings review tag
Changes since v1:
- Fixed typos in bindings
- Fixed compatible used in driver, using the bindings defined one
- Fix regmap return value handling
- Fix irq error handling
- Fixed wrong clk unprepare on oscin
[1] https://patchwork.linuxtv.org/patch/55513/
[2] https://patchwork.linuxtv.org/patch/55588/
Neil Armstrong (3):
media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible
media: platform: meson: Add Amlogic Meson G12A AO CEC Controller
driver
MAINTAINERS: Update AO CEC with ao-cec-g12a driver
.../bindings/media/meson-ao-cec.txt | 13 +- MAINTAINERS | 1 + drivers/media/platform/Kconfig | 16 + drivers/media/platform/meson/Makefile | 1 + drivers/media/platform/meson/ao-cec-g12a.c | 779 ++++++++++++++++++ 5 files changed, 807 insertions(+), 3 deletions(-) create mode 100644 drivers/media/platform/meson/ao-cec-g12a.c
Signature · 1 line
2.21.0