* [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string
@ 2025-12-18 4:05 Manikandan Muralidharan
2025-12-18 4:05 ` [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller Manikandan Muralidharan
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Manikandan Muralidharan @ 2025-12-18 4:05 UTC (permalink / raw)
To: lee, robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
claudiu.beznea, manikandan.m, dharma.b, maarten.lankhorst,
mripard, tzimmermann, airlied, simona, devicetree,
linux-arm-kernel, linux-kernel, dri-devel
Cc: Krzysztof Kozlowski
Add LCD compatible string for sama7d65.
Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml b/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml
index 4aa36903e755..dfee8707bac2 100644
--- a/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml
+++ b/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml
@@ -25,6 +25,7 @@ properties:
- atmel,sama5d4-hlcdc
- microchip,sam9x60-hlcdc
- microchip,sam9x75-xlcdc
+ - microchip,sama7d65-xlcdc
reg:
maxItems: 1
base-commit: e8c28e16c3ebd142938aee296032c6b802a5a1d4
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller 2025-12-18 4:05 [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Manikandan Muralidharan @ 2025-12-18 4:05 ` Manikandan Muralidharan 2025-12-18 9:05 ` Nicolas Ferre 2025-12-18 4:05 ` [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 Manikandan Muralidharan ` (2 subsequent siblings) 3 siblings, 1 reply; 8+ messages in thread From: Manikandan Muralidharan @ 2025-12-18 4:05 UTC (permalink / raw) To: lee, robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, manikandan.m, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Ryan Wanner From: Ryan Wanner <Ryan.Wanner@microchip.com> Add compatible for sama7d65 XLCD controller. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> --- changes in v2: - isolate this change into a dedicated patch --- drivers/mfd/atmel-hlcdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c index 4c4e35d404f3..c3f3d39bf584 100644 --- a/drivers/mfd/atmel-hlcdc.c +++ b/drivers/mfd/atmel-hlcdc.c @@ -140,6 +140,7 @@ static const struct of_device_id atmel_hlcdc_match[] = { { .compatible = "atmel,sama5d4-hlcdc" }, { .compatible = "microchip,sam9x60-hlcdc" }, { .compatible = "microchip,sam9x75-xlcdc" }, + { .compatible = "microchip,sama7d65-xlcdc" }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, atmel_hlcdc_match); -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller 2025-12-18 4:05 ` [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller Manikandan Muralidharan @ 2025-12-18 9:05 ` Nicolas Ferre 0 siblings, 0 replies; 8+ messages in thread From: Nicolas Ferre @ 2025-12-18 9:05 UTC (permalink / raw) To: Manikandan Muralidharan, lee, robh, krzk+dt, conor+dt, alexandre.belloni, claudiu.beznea, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Ryan Wanner On 18/12/2025 at 05:05, Manikandan Muralidharan wrote: > From: Ryan Wanner <Ryan.Wanner@microchip.com> > > Add compatible for sama7d65 XLCD controller. > > Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> > Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> > --- > changes in v2: > - isolate this change into a dedicated patch > --- > drivers/mfd/atmel-hlcdc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c > index 4c4e35d404f3..c3f3d39bf584 100644 > --- a/drivers/mfd/atmel-hlcdc.c > +++ b/drivers/mfd/atmel-hlcdc.c > @@ -140,6 +140,7 @@ static const struct of_device_id atmel_hlcdc_match[] = { > { .compatible = "atmel,sama5d4-hlcdc" }, > { .compatible = "microchip,sam9x60-hlcdc" }, > { .compatible = "microchip,sam9x75-xlcdc" }, > + { .compatible = "microchip,sama7d65-xlcdc" }, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, atmel_hlcdc_match); ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 2025-12-18 4:05 [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Manikandan Muralidharan 2025-12-18 4:05 ` [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller Manikandan Muralidharan @ 2025-12-18 4:05 ` Manikandan Muralidharan 2025-12-18 9:06 ` Nicolas Ferre 2026-02-25 4:02 ` Manikandan.M 2025-12-18 9:05 ` [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Nicolas Ferre 2026-01-09 10:55 ` (subset) " Lee Jones 3 siblings, 2 replies; 8+ messages in thread From: Manikandan Muralidharan @ 2025-12-18 4:05 UTC (permalink / raw) To: lee, robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, manikandan.m, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Ryan Wanner From: Ryan Wanner <Ryan.Wanner@microchip.com> Add the LCD controller layer definition and atmel_hlcdc_of_match entry for sama7d65. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 81 ++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index dd70894c8f38..3d57a7182c98 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c @@ -566,6 +566,83 @@ static const struct atmel_hlcdc_dc_desc atmel_xlcdc_dc_sam9x75 = { .ops = &atmel_xlcdc_ops, }; +static const struct atmel_hlcdc_layer_desc atmel_xlcdc_sama7d65_layers[] = { + { + .name = "base", + .formats = &atmel_hlcdc_plane_rgb_formats, + .regs_offset = 0x60, + .id = 0, + .type = ATMEL_HLCDC_BASE_LAYER, + .cfgs_offset = 0x1c, + .layout = { + .xstride = { 2 }, + .default_color = 3, + .general_config = 4, + .disc_pos = 5, + .disc_size = 6, + }, + .clut_offset = 0x700, + }, + { + .name = "overlay1", + .formats = &atmel_hlcdc_plane_rgb_formats, + .regs_offset = 0x160, + .id = 1, + .type = ATMEL_HLCDC_OVERLAY_LAYER, + .cfgs_offset = 0x1c, + .layout = { + .pos = 2, + .size = 3, + .xstride = { 4 }, + .pstride = { 5 }, + .default_color = 6, + .chroma_key = 7, + .chroma_key_mask = 8, + .general_config = 9, + }, + .clut_offset = 0xb00, + }, + { + .name = "high-end-overlay", + .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, + .regs_offset = 0x360, + .id = 2, + .type = ATMEL_HLCDC_OVERLAY_LAYER, + .cfgs_offset = 0x30, + .layout = { + .pos = 2, + .size = 3, + .memsize = 4, + .xstride = { 5, 7 }, + .pstride = { 6, 8 }, + .default_color = 9, + .chroma_key = 10, + .chroma_key_mask = 11, + .general_config = 12, + .csc = 16, + .scaler_config = 23, + .vxs_config = 30, + .hxs_config = 31, + }, + .clut_offset = 0x1300, + }, +}; + +static const struct atmel_hlcdc_dc_desc atmel_xlcdc_dc_sama7d65 = { + .min_width = 0, + .min_height = 0, + .max_width = 2048, + .max_height = 2048, + .max_spw = 0x3ff, + .max_vpw = 0x3ff, + .max_hpw = 0x3ff, + .fixed_clksrc = true, + .is_xlcdc = true, + .nlayers = ARRAY_SIZE(atmel_xlcdc_sama7d65_layers), + .layers = atmel_xlcdc_sama7d65_layers, + .ops = &atmel_xlcdc_ops, +}; + static const struct of_device_id atmel_hlcdc_of_match[] = { { .compatible = "atmel,at91sam9n12-hlcdc", @@ -595,6 +672,10 @@ static const struct of_device_id atmel_hlcdc_of_match[] = { .compatible = "microchip,sam9x75-xlcdc", .data = &atmel_xlcdc_dc_sam9x75, }, + { + .compatible = "microchip,sama7d65-xlcdc", + .data = &atmel_xlcdc_dc_sama7d65, + }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, atmel_hlcdc_of_match); -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 2025-12-18 4:05 ` [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 Manikandan Muralidharan @ 2025-12-18 9:06 ` Nicolas Ferre 2026-02-25 4:02 ` Manikandan.M 1 sibling, 0 replies; 8+ messages in thread From: Nicolas Ferre @ 2025-12-18 9:06 UTC (permalink / raw) To: Manikandan Muralidharan, lee, robh, krzk+dt, conor+dt, alexandre.belloni, claudiu.beznea, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Ryan Wanner On 18/12/2025 at 05:05, Manikandan Muralidharan wrote: > From: Ryan Wanner <Ryan.Wanner@microchip.com> > > Add the LCD controller layer definition and atmel_hlcdc_of_match > entry for sama7d65. > > Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> > Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Thanks Ryan and Manikandan! Best regards, Nicolas ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 2025-12-18 4:05 ` [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 Manikandan Muralidharan 2025-12-18 9:06 ` Nicolas Ferre @ 2026-02-25 4:02 ` Manikandan.M 1 sibling, 0 replies; 8+ messages in thread From: Manikandan.M @ 2026-02-25 4:02 UTC (permalink / raw) To: lee, robh, krzk+dt, conor+dt, Nicolas.Ferre, alexandre.belloni, claudiu.beznea, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Ryan.Wanner On 18/12/25 9:35 am, Manikandan Muralidharan wrote: > From: Ryan Wanner <Ryan.Wanner@microchip.com> > > Add the LCD controller layer definition and atmel_hlcdc_of_match > entry for sama7d65. > > Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> > Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> Applied to drm-misc-next [3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 commit: 3d8fd28d056a6f191763061b05564d46110bbea9 > --- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 81 ++++++++++++++++++++ > 1 file changed, 81 insertions(+) > > diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c > index dd70894c8f38..3d57a7182c98 100644 > --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c > +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c > @@ -566,6 +566,83 @@ static const struct atmel_hlcdc_dc_desc atmel_xlcdc_dc_sam9x75 = { > .ops = &atmel_xlcdc_ops, > }; > > +static const struct atmel_hlcdc_layer_desc atmel_xlcdc_sama7d65_layers[] = { > + { > + .name = "base", > + .formats = &atmel_hlcdc_plane_rgb_formats, > + .regs_offset = 0x60, > + .id = 0, > + .type = ATMEL_HLCDC_BASE_LAYER, > + .cfgs_offset = 0x1c, > + .layout = { > + .xstride = { 2 }, > + .default_color = 3, > + .general_config = 4, > + .disc_pos = 5, > + .disc_size = 6, > + }, > + .clut_offset = 0x700, > + }, > + { > + .name = "overlay1", > + .formats = &atmel_hlcdc_plane_rgb_formats, > + .regs_offset = 0x160, > + .id = 1, > + .type = ATMEL_HLCDC_OVERLAY_LAYER, > + .cfgs_offset = 0x1c, > + .layout = { > + .pos = 2, > + .size = 3, > + .xstride = { 4 }, > + .pstride = { 5 }, > + .default_color = 6, > + .chroma_key = 7, > + .chroma_key_mask = 8, > + .general_config = 9, > + }, > + .clut_offset = 0xb00, > + }, > + { > + .name = "high-end-overlay", > + .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, > + .regs_offset = 0x360, > + .id = 2, > + .type = ATMEL_HLCDC_OVERLAY_LAYER, > + .cfgs_offset = 0x30, > + .layout = { > + .pos = 2, > + .size = 3, > + .memsize = 4, > + .xstride = { 5, 7 }, > + .pstride = { 6, 8 }, > + .default_color = 9, > + .chroma_key = 10, > + .chroma_key_mask = 11, > + .general_config = 12, > + .csc = 16, > + .scaler_config = 23, > + .vxs_config = 30, > + .hxs_config = 31, > + }, > + .clut_offset = 0x1300, > + }, > +}; > + > +static const struct atmel_hlcdc_dc_desc atmel_xlcdc_dc_sama7d65 = { > + .min_width = 0, > + .min_height = 0, > + .max_width = 2048, > + .max_height = 2048, > + .max_spw = 0x3ff, > + .max_vpw = 0x3ff, > + .max_hpw = 0x3ff, > + .fixed_clksrc = true, > + .is_xlcdc = true, > + .nlayers = ARRAY_SIZE(atmel_xlcdc_sama7d65_layers), > + .layers = atmel_xlcdc_sama7d65_layers, > + .ops = &atmel_xlcdc_ops, > +}; > + > static const struct of_device_id atmel_hlcdc_of_match[] = { > { > .compatible = "atmel,at91sam9n12-hlcdc", > @@ -595,6 +672,10 @@ static const struct of_device_id atmel_hlcdc_of_match[] = { > .compatible = "microchip,sam9x75-xlcdc", > .data = &atmel_xlcdc_dc_sam9x75, > }, > + { > + .compatible = "microchip,sama7d65-xlcdc", > + .data = &atmel_xlcdc_dc_sama7d65, > + }, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, atmel_hlcdc_of_match); -- Thanks and Regards, Manikandan M. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string 2025-12-18 4:05 [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Manikandan Muralidharan 2025-12-18 4:05 ` [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller Manikandan Muralidharan 2025-12-18 4:05 ` [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 Manikandan Muralidharan @ 2025-12-18 9:05 ` Nicolas Ferre 2026-01-09 10:55 ` (subset) " Lee Jones 3 siblings, 0 replies; 8+ messages in thread From: Nicolas Ferre @ 2025-12-18 9:05 UTC (permalink / raw) To: Manikandan Muralidharan, lee, robh, krzk+dt, conor+dt, alexandre.belloni, claudiu.beznea, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel Cc: Krzysztof Kozlowski On 18/12/2025 at 05:05, Manikandan Muralidharan wrote: > Add LCD compatible string for sama7d65. > > Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> > --- > Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml b/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > index 4aa36903e755..dfee8707bac2 100644 > --- a/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > +++ b/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml > @@ -25,6 +25,7 @@ properties: > - atmel,sama5d4-hlcdc > - microchip,sam9x60-hlcdc > - microchip,sam9x75-xlcdc > + - microchip,sama7d65-xlcdc > > reg: > maxItems: 1 > > base-commit: e8c28e16c3ebd142938aee296032c6b802a5a1d4 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (subset) [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string 2025-12-18 4:05 [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Manikandan Muralidharan ` (2 preceding siblings ...) 2025-12-18 9:05 ` [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Nicolas Ferre @ 2026-01-09 10:55 ` Lee Jones 3 siblings, 0 replies; 8+ messages in thread From: Lee Jones @ 2026-01-09 10:55 UTC (permalink / raw) To: lee, robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, dharma.b, maarten.lankhorst, mripard, tzimmermann, airlied, simona, devicetree, linux-arm-kernel, linux-kernel, dri-devel, Manikandan Muralidharan Cc: Krzysztof Kozlowski On Thu, 18 Dec 2025 09:35:19 +0530, Manikandan Muralidharan wrote: > Add LCD compatible string for sama7d65. > > Applied, thanks! [1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string commit: 9efacd6c2fdde4fe1919034ef1b0ed666458c275 [2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller commit: b323fbb6f6237fe030ac9391319b32353a4b0e68 -- Lee Jones [李琼斯] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-02-25 4:02 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-12-18 4:05 [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Manikandan Muralidharan 2025-12-18 4:05 ` [PATCH v2 2/3] mfd: atmel-hlcdc: Add compatible for sama7d65 XLCD controller Manikandan Muralidharan 2025-12-18 9:05 ` Nicolas Ferre 2025-12-18 4:05 ` [PATCH v2 3/3] drm: atmel-hlcdc: add LCD controller layer definition for sama7d65 Manikandan Muralidharan 2025-12-18 9:06 ` Nicolas Ferre 2026-02-25 4:02 ` Manikandan.M 2025-12-18 9:05 ` [PATCH v2 1/3] dt-bindings: mfd: atmel,hlcdc: Add sama7d65 compatible string Nicolas Ferre 2026-01-09 10:55 ` (subset) " Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®