* [PATCH v5 0/3] Add PinePhone Pro display support
@ 2023-01-02 23:07 Javier Martinez Canillas
2023-01-02 23:07 ` [PATCH v5 1/3] dt-bindings: display: Add Himax HX8394 panel controller Javier Martinez Canillas
2023-01-10 12:30 ` [PATCH v5 0/3] Add PinePhone Pro display support Linus Walleij
0 siblings, 2 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2023-01-02 23:07 UTC (permalink / raw)
To: linux-kernel
Cc: Robert Mader, Onuralp Sezer, Martijn Braam, Jagan Teki,
Sam Ravnborg, linux-arm-kernel, Kamil Trzciński, dri-devel,
Tom Fitzhenry, Ondrej Jirman, Neal Gompa, Peter Robinson,
Maya Matuszczyk, Krzysztof Kozlowski, Javier Martinez Canillas,
Daniel Vetter, David Airlie, Krzysztof Kozlowski, Rob Herring,
Thierry Reding, devicetree
This series adds support for the display present in the PinePhone Pro.
Patch #1 adds a devicetree binding schema for panels based on the Himax
HX8394 controller, such as the HSD060BHW4 720x1440 TFT LCD panel present
in the PinePhone Pro. Patch #2 adds the panel driver for this controller
and finally patch #3 adds an entry for the driver in MAINTAINERS file.
This version doesn't include the DTS changes, since Ondrej mentioned that
there are still things to sort out before enabling it. The DTS bits will
be proposed as a follow-up patch series.
This allows for example the Fedora distro to support the PinePhone Pro with
a DTB provided by the firmware.
This is a v5 of the patch-set that addresses issues pointed out in v4:
https://lists.freedesktop.org/archives/dri-devel/2022-December/384810.html
The patches were tested on a PinePhone Pro Explorer Edition using a Fedora
37 Workstation image.
Best regards,
Javier
Changes in v5:
- List Ondrej Jirman as a maintainer in the DT binding schema document.
- Add Peter Robinson's Tested-by tag.
- List Ondrej Jirman as a maintainer in the driver's MAINTAINERS entry.
Changes in v4:
- Add fallback "himax,hx8394" compatible for the panel controller (Jagan Teki).
- Add Tom Fitzhenry's Tested-by tag.
- Add Sam Ravnborg's Acked-by tag.
Changes in v3:
- Fix example snippet for `make dt_binding_check` to pass (Krzysztof Kozlowski).
- Add Sam Ravnborg's reviwed-by tag.
- Move driver patch after one introducing the DT binding (Sam Ravnborg).
Changes in v2:
- Drop redundant "bindings" in subject (Krzysztof Kozlowski).
- Drop "device tree bindings" in title (Krzysztof Kozlowski).
- Put port next to other "true" properties (Krzysztof Kozlowski).
- Add Krzysztof Kozlowski's Reviewed-by tag.
- Add year to driver's copyright notice (Sam Ravnborg)
- Remove unused <video/display_timing.h> header include (Sam Ravnborg).
- Use mipi_dsi_dcs_write_seq() helper and drop custom macro (Sam Ravnborg).
- Drop unnecessary info messages and move useful one to debug (Sam Ravnborg).
Javier Martinez Canillas (2):
dt-bindings: display: Add Himax HX8394 panel controller
MAINTAINERS: Add entry for Himax HX8394 panel controller driver
Kamil Trzciński (1):
drm: panel: Add Himax HX8394 panel controller driver
.../bindings/display/panel/himax,hx8394.yaml | 76 +++
MAINTAINERS | 8 +
drivers/gpu/drm/panel/Kconfig | 12 +
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu/drm/panel/panel-himax-hx8394.c | 451 ++++++++++++++++++
5 files changed, 548 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
create mode 100644 drivers/gpu/drm/panel/panel-himax-hx8394.c
--
2.38.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v5 1/3] dt-bindings: display: Add Himax HX8394 panel controller
2023-01-02 23:07 [PATCH v5 0/3] Add PinePhone Pro display support Javier Martinez Canillas
@ 2023-01-02 23:07 ` Javier Martinez Canillas
2023-01-10 12:30 ` [PATCH v5 0/3] Add PinePhone Pro display support Linus Walleij
1 sibling, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2023-01-02 23:07 UTC (permalink / raw)
To: linux-kernel
Cc: Robert Mader, Onuralp Sezer, Martijn Braam, Jagan Teki,
Sam Ravnborg, linux-arm-kernel, Kamil Trzciński, dri-devel,
Tom Fitzhenry, Ondrej Jirman, Neal Gompa, Peter Robinson,
Maya Matuszczyk, Krzysztof Kozlowski, Javier Martinez Canillas,
Daniel Vetter, David Airlie, Krzysztof Kozlowski, Rob Herring,
Thierry Reding, devicetree
Add device tree bindings for panels based on the Himax HX8394 controller,
such as the HannStar HSD060BHW4 720x1440 TFT LCD panel that is connected
through a MIPI-DSI video interface.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes in v5:
- List Ondrej Jirman as a maintainer in the DT binding schema document.
Changes in v4:
- Add fallback "himax,hx8394" compatible for the panel controller (Jagan Teki).
Changes in v3:
- Fix example snippet for `make dt_binding_check` to pass (Krzysztof Kozlowski).
Changes in v2:
- Drop redundant "bindings" in subject (Krzysztof Kozlowski).
- Drop "device tree bindings" in title (Krzysztof Kozlowski).
- Put port next to other "true" properties (Krzysztof Kozlowski).
- Add Krzysztof Kozlowski's Reviewed-by tag.
.../bindings/display/panel/himax,hx8394.yaml | 76 +++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
new file mode 100644
index 000000000000..1b2a1baa26f9
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
@@ -0,0 +1,76 @@
+# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Himax HX8394 MIPI-DSI LCD panel controller
+
+maintainers:
+ - Ondrej Jirman <megi@xff.cz>
+ - Javier Martinez Canillas <javierm@redhat.com>
+
+description:
+ Device tree bindings for panels based on the Himax HX8394 controller,
+ such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with
+ a MIPI-DSI video interface.
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - hannstar,hsd060bhw4
+ - const: himax,hx8394
+
+ reg: true
+
+ reset-gpios: true
+
+ backlight: true
+
+ port: true
+
+ vcc-supply:
+ description: Panel power supply
+
+ iovcc-supply:
+ description: I/O voltage supply
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+ - backlight
+ - port
+ - vcc-supply
+ - iovcc-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ panel@0 {
+ compatible = "hannstar,hsd060bhw4", "himax,hx8394";
+ reg = <0>;
+ vcc-supply = <®_2v8_p>;
+ iovcc-supply = <®_1v8_p>;
+ reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
+ backlight = <&backlight>;
+
+ port {
+ mipi_in_panel: endpoint {
+ remote-endpoint = <&mipi_out_panel>;
+ };
+ };
+ };
+ };
+
+...
--
2.38.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v5 0/3] Add PinePhone Pro display support
2023-01-02 23:07 [PATCH v5 0/3] Add PinePhone Pro display support Javier Martinez Canillas
2023-01-02 23:07 ` [PATCH v5 1/3] dt-bindings: display: Add Himax HX8394 panel controller Javier Martinez Canillas
@ 2023-01-10 12:30 ` Linus Walleij
2023-01-10 12:43 ` Javier Martinez Canillas
1 sibling, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2023-01-10 12:30 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, devicetree, Krzysztof Kozlowski, Robert Mader,
Onuralp Sezer, Neal Gompa, dri-devel, Tom Fitzhenry,
Martijn Braam, Krzysztof Kozlowski, Rob Herring, Ondrej Jirman,
Jagan Teki, Kamil Trzciński, Thierry Reding, Maya Matuszczyk,
Sam Ravnborg, linux-arm-kernel, Peter Robinson
On Tue, Jan 3, 2023 at 12:07 AM Javier Martinez Canillas
<javierm@redhat.com> wrote:
> This series adds support for the display present in the PinePhone Pro.
>
> Patch #1 adds a devicetree binding schema for panels based on the Himax
> HX8394 controller, such as the HSD060BHW4 720x1440 TFT LCD panel present
> in the PinePhone Pro. Patch #2 adds the panel driver for this controller
> and finally patch #3 adds an entry for the driver in MAINTAINERS file.
>
> This version doesn't include the DTS changes, since Ondrej mentioned that
> there are still things to sort out before enabling it. The DTS bits will
> be proposed as a follow-up patch series.
>
> This allows for example the Fedora distro to support the PinePhone Pro with
> a DTB provided by the firmware.
>
> This is a v5 of the patch-set that addresses issues pointed out in v4:
I looked over the patches a last time. This driver looks great.
Acks by Krzysztof and Sam are in place.
Patches applied to drm-misc-next!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v5 0/3] Add PinePhone Pro display support
2023-01-10 12:30 ` [PATCH v5 0/3] Add PinePhone Pro display support Linus Walleij
@ 2023-01-10 12:43 ` Javier Martinez Canillas
0 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2023-01-10 12:43 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-kernel, devicetree, Krzysztof Kozlowski, Robert Mader,
Onuralp Sezer, Neal Gompa, dri-devel, Tom Fitzhenry,
Martijn Braam, Krzysztof Kozlowski, Rob Herring, Ondrej Jirman,
Jagan Teki, Kamil Trzciński, Thierry Reding, Maya Matuszczyk,
Sam Ravnborg, linux-arm-kernel, Peter Robinson
Hello Linus,
On 1/10/23 13:30, Linus Walleij wrote:
> On Tue, Jan 3, 2023 at 12:07 AM Javier Martinez Canillas
> <javierm@redhat.com> wrote:
>
>> This series adds support for the display present in the PinePhone Pro.
>>
>> Patch #1 adds a devicetree binding schema for panels based on the Himax
>> HX8394 controller, such as the HSD060BHW4 720x1440 TFT LCD panel present
>> in the PinePhone Pro. Patch #2 adds the panel driver for this controller
>> and finally patch #3 adds an entry for the driver in MAINTAINERS file.
>>
>> This version doesn't include the DTS changes, since Ondrej mentioned that
>> there are still things to sort out before enabling it. The DTS bits will
>> be proposed as a follow-up patch series.
>>
>> This allows for example the Fedora distro to support the PinePhone Pro with
>> a DTB provided by the firmware.
>>
>> This is a v5 of the patch-set that addresses issues pointed out in v4:
>
> I looked over the patches a last time. This driver looks great.
> Acks by Krzysztof and Sam are in place.
> Patches applied to drm-misc-next!
>
Awesome. Thanks a lot!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-01-10 12:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-02 23:07 [PATCH v5 0/3] Add PinePhone Pro display support Javier Martinez Canillas
2023-01-02 23:07 ` [PATCH v5 1/3] dt-bindings: display: Add Himax HX8394 panel controller Javier Martinez Canillas
2023-01-10 12:30 ` [PATCH v5 0/3] Add PinePhone Pro display support Linus Walleij
2023-01-10 12:43 ` Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).