Add LCD and LVDS controller for sama7d65 SoC
Subsystems (7)
Manikandan Muralidharan
maintainercover Add LCD and LVDS controller for sama7d65 SoC
This patch series adds support for image subsystem nodes like LCD and LVDS controller in sama7d65 SoC with binidngs. Also takes care of enabling the required configs.
Aubin Constans (1):
ARM: configs: at91: sama7: enable LVDS serializer support
Manikandan Muralidharan (1):
dt-bindings: display: bridge: microchip,sam9x75-lvds: document
SAMA7D65 binding
Romain Sioen (1):
ARM: configs: at91: sama7: enable config for atmel maxtouch
Ryan Wanner (3):
ARM: dts: microchip: sama7d65: add LCD controller
ARM: dts: microchip: sama7d65: add LVDS controller
ARM: configs: at91: sama7: enable DRM hlcdc support
.../bridge/microchip,sam9x75-lvds.yaml | 6 +++- arch/arm/boot/dts/microchip/sama7d65.dtsi | 35 +++++++++++++++++++ arch/arm/configs/sama7_defconfig | 10 ++++++ 3 files changed, 50 insertions(+), 1 deletion(-)
base-commit: 7dff99b354601dd01829e1511711846e04340a69
Signature · 1 line
2.25.1
Manikandan Muralidharan
maintainerPATCH 1/6 ARM: dts: microchip: sama7d65: add LCD controller
From: Ryan Wanner <[email protected]>
Add support for LCD controller node
--- arch/arm/boot/dts/microchip/sama7d65.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+)
arch/arm/boot/dts/microchip/sama7d65.dtsi +26 -0
@@ -278,6 +278,32 @@ sdmmc1: mmc@e1208000 { status = "disabled"; }; + xlcdc: lcd-controller@e1400000{ + compatible = "microchip,sama7d65-xlcdc"; + reg = <0xe1400000 0x2000>; + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>, <&pmc PMC_TYPE_GCK 56>, <&clk32k 1>; + clock-names = "periph_clk", "sys_clk", "slow_clk"; + status = "disabled"; + + display-controller { + compatible = "atmel,hlcdc-display-controller"; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + + pwm { + compatible = "atmel,hlcdc-pwm"; + #pwm-cells = <3>; + }; + }; + aes: crypto@e1600000 { compatible = "microchip,sama7d65-aes", "atmel,at91sam9g46-aes"; reg = <0xe1600000 0x100>;
Signature · 1 line
2.25.1
Re: [PATCH 1/6] ARM: dts: microchip: sama7d65: add LCD controller
Quoted 15 lines · Manikandan Muralidharan
From: Ryan Wanner <[email protected]>
Add support for LCD controller node
Signed-off-by Ryan Wanner <[email protected]>Signed-off-by Manikandan Muralidharan <[email protected]>--- arch/arm/boot/dts/microchip/sama7d65.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+)arch/arm/boot/dts/microchip/sama7d65.dtsi +0
-0
arch/arm/boot/dts/microchip/sama7d65.dtsi sdmmc1: mmc@e1208000 { · line 281
Quoted 4 lines
arch/arm/boot/dts/microchip/sama7d65.dtsi +1
-0@@ -278,6 +278,32 @@ sdmmc1: mmc@e1208000 { status = "disabled"; }; + xlcdc: lcd-controller@e1400000{
Missing a space here -------------------------^
I can adjust it while applying.
Other than that:
Quoted 28 lines
arch/arm/boot/dts/microchip/sama7d65.dtsi +25
-0+ compatible = "microchip,sama7d65-xlcdc"; + reg = <0xe1400000 0x2000>; + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>, <&pmc PMC_TYPE_GCK 56>, <&clk32k 1>; + clock-names = "periph_clk", "sys_clk", "slow_clk"; + status = "disabled"; + + display-controller { + compatible = "atmel,hlcdc-display-controller"; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + + pwm { + compatible = "atmel,hlcdc-pwm"; + #pwm-cells = <3>; + }; + }; + aes: crypto@e1600000 { compatible = "microchip,sama7d65-aes", "atmel,at91sam9g46-aes"; reg = <0xe1600000 0x100>;
Manikandan Muralidharan
maintainerPATCH 2/6 dt-bindings: display: bridge: microchip,sam9x75-lvds: document SAMA7D65 binding
In reply to Manikandan MuralidharanUpdate the microchip LVDS bridge device tree bindings to support the SAMA7D65 SoC LVDS controller
--- .../bindings/display/bridge/microchip,sam9x75-lvds.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml +5 -1
@@ -17,7 +17,11 @@ description: properties: compatible: - const: microchip,sam9x75-lvds + oneOf: + - const: microchip,sam9x75-lvds + - items: + - const: microchip,sama7d65-lvds + - const: microchip,sam9x75-lvds reg: maxItems: 1
Signature · 1 line
2.25.1
Re: [PATCH 2/6] dt-bindings: display: bridge: microchip,sam9x75-lvds: document SAMA7D65 binding
Quoted 8 lines · Manikandan Muralidharan
Update the microchip LVDS bridge device tree bindings to support the SAMA7D65 SoC LVDS controller
Signed-off-by Manikandan Muralidharan <[email protected]>--- .../bindings/display/bridge/microchip,sam9x75-lvds.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
A nit, subject: drop second/last, redundant "binding". The "dt-bindings" prefix is already stating that these are bindings. See also:
https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
Best regards,
Krzysztof
Manikandan Muralidharan
maintainerPATCH 3/6 ARM: dts: microchip: sama7d65: add LVDS controller
In reply to Manikandan MuralidharanFrom: Ryan Wanner <[email protected]>
Add support for LVDS controller node
--- arch/arm/boot/dts/microchip/sama7d65.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/microchip/sama7d65.dtsi +9 -0
@@ -304,6 +304,15 @@ pwm { }; }; + lvdsc: lvds-controller@e1408000 { + compatible = "microchip,sama7d65-lvds", "microchip,sam9x75-lvds"; + reg = <0xe1408000 0x100>; + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 104>; + clock-names = "pclk"; + status = "disabled"; + }; + aes: crypto@e1600000 { compatible = "microchip,sama7d65-aes", "atmel,at91sam9g46-aes"; reg = <0xe1600000 0x100>;
Signature · 1 line
2.25.1
Re: [PATCH 3/6] ARM: dts: microchip: sama7d65: add LVDS controller
Quoted 6 lines · Manikandan Muralidharan
From: Ryan Wanner <[email protected]>
Add support for LVDS controller node
Signed-off-by Ryan Wanner <[email protected]>Signed-off-by Manikandan Muralidharan <[email protected]>
Manikandan Muralidharan
maintainerPATCH 4/6 ARM: configs: at91: sama7: enable DRM hlcdc support
In reply to Manikandan MuralidharanFrom: Ryan Wanner <[email protected]>
Add configs for DRM Atmel LCD Controller, Backlight and Simple Panel
--- arch/arm/configs/sama7_defconfig | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/configs/sama7_defconfig +7 -0
@@ -133,6 +133,7 @@ CONFIG_GENERIC_ADC_THERMAL=y CONFIG_WATCHDOG=y CONFIG_SAMA5D4_WATCHDOG=y CONFIG_MFD_ATMEL_FLEXCOM=y +CONFIG_MFD_ATMEL_HLCDC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_MCP16502=y
@@ -147,6 +148,11 @@ CONFIG_VIDEO_MICROCHIP_CSI2DC=y CONFIG_VIDEO_IMX219=m CONFIG_VIDEO_IMX274=m CONFIG_VIDEO_OV5647=m +CONFIG_DRM=y +CONFIG_DRM_ATMEL_HLCDC=y +CONFIG_DRM_PANEL_SIMPLE=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y +CONFIG_BACKLIGHT_PWM=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SOC=y
@@ -197,6 +203,7 @@ CONFIG_AT91_SAMA5D2_ADC=y CONFIG_PAC1934=m CONFIG_PWM=y CONFIG_PWM_ATMEL=y +CONFIG_PWM_ATMEL_HLCDC_PWM=y CONFIG_MCHP_EIC=y CONFIG_RESET_CONTROLLER=y CONFIG_NVMEM_MICROCHIP_OTPC=y
Signature · 1 line
2.25.1
Re: [PATCH 4/6] ARM: configs: at91: sama7: enable DRM hlcdc support
Quoted 6 lines · Manikandan Muralidharan
From: Ryan Wanner<[email protected]>
Add configs for DRM Atmel LCD Controller, Backlight and Simple Panel
Signed-off-by Ryan Wanner<[email protected]>Signed-off-by Manikandan Muralidharan<[email protected]>
Manikandan Muralidharan
maintainerPATCH 5/6 ARM: configs: at91: sama7: enable config for atmel maxtouch
In reply to Manikandan MuralidharanFrom: Romain Sioen <[email protected]>
Add config support to enable maxtouch capacitive touchscreen
--- arch/arm/configs/sama7_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/sama7_defconfig +2 -0
@@ -108,6 +108,8 @@ CONFIG_CAN_M_CAN_PLATFORM=y CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_MOUSE is not set +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_TOUCHSCREEN_ATMEL_MXT=y CONFIG_LEGACY_PTY_COUNT=4 CONFIG_SERIAL_ATMEL=y CONFIG_SERIAL_ATMEL_CONSOLE=y
Signature · 1 line
2.25.1
Re: [PATCH 5/6] ARM: configs: at91: sama7: enable config for atmel maxtouch
Quoted 6 lines · Manikandan Muralidharan
From: Romain Sioen <[email protected]>
Add config support to enable maxtouch capacitive touchscreen
Signed-off-by Romain Sioen <[email protected]>Signed-off-by Manikandan Muralidharan <[email protected]>
Manikandan Muralidharan
maintainerPATCH 6/6 ARM: configs: at91: sama7: enable LVDS serializer support
In reply to Manikandan MuralidharanFrom: Aubin Constans <[email protected]>
Add config support to enable LVDS serializer
--- arch/arm/configs/sama7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/sama7_defconfig +1 -0
@@ -152,6 +152,7 @@ CONFIG_VIDEO_IMX274=m CONFIG_VIDEO_OV5647=m CONFIG_DRM=y CONFIG_DRM_ATMEL_HLCDC=y +CONFIG_DRM_MICROCHIP_LVDS_SERIALIZER=y CONFIG_DRM_PANEL_SIMPLE=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=y
Signature · 1 line
2.25.1
Re: [PATCH 6/6] ARM: configs: at91: sama7: enable LVDS serializer support
Quoted 6 lines · Manikandan Muralidharan
From: Aubin Constans <[email protected]>
Add config support to enable LVDS serializer
Signed-off-by Aubin Constans <[email protected]>Signed-off-by Manikandan Muralidharan <[email protected]>