From nobody Sun Dec 14 20:24:13 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CEABC4167B for ; Fri, 30 Dec 2022 11:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234894AbiL3LdL (ORCPT ); Fri, 30 Dec 2022 06:33:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbiL3LdG (ORCPT ); Fri, 30 Dec 2022 06:33:06 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82BEB1AD9C for ; Fri, 30 Dec 2022 03:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672399941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c32qrgWmsjRJO1IBGWxTMshwA3bwdd46Bo/ATwGKrQ0=; b=M3l5jAMkQ69EMarAXpviqCPaiQkZggW38FMGvw4eKUPP6EdxRm2gZnwz9hT/WdWhimCUzx ACFC0DF+4WL6KCSFI+JUFxHSbgd41/RFf0MwJ7iu2zyjsrSQwM9+Wjam+OJgQAo6cIOnxV i+a7iqB/c0CDZMu7TUObc2u4jXgmTYA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-413-vtZVmYCHMTOnN7yrVzl4_w-1; Fri, 30 Dec 2022 06:32:20 -0500 X-MC-Unique: vtZVmYCHMTOnN7yrVzl4_w-1 Received: by mail-wm1-f71.google.com with SMTP id c66-20020a1c3545000000b003d355c13229so14138771wma.0 for ; Fri, 30 Dec 2022 03:32:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c32qrgWmsjRJO1IBGWxTMshwA3bwdd46Bo/ATwGKrQ0=; b=ZDgre1f/W/yXkm9cZ3NCKHaneMS7r53CnChqSLjpFtmgRJwEFORBhdhlOaWh5lEziF PG4XGVIrqgZjJmeAhbbkB5OSrDvSBnB2dgazmStUNyeNP5e4eZ1QoanOSkFT5yRx7gA9 +ODJg/acBeuzzEoMH0Nox9YCWmTm65mPuO/zfQCx8+Cy7W/cRmUCB7OaGAcmvVZBkIx/ 3AeN6vfEGSl71VPQ3Xm6p8tRW+izK390rsOJWl/Ve5qkHpfbK1UOi+EF+etHfQufqPjC xDgclF+/W5zgcL27Ql50xiKA2eRl+I5+nheoYDz9ObDN3n6Kkt36QcruIhKxUs/SrEx7 ry7A== X-Gm-Message-State: AFqh2kr676c9EAH5+TkWVnTj7XwKI00Ai8WztPcFY2+tq7UI5y+CxaFw 6rSIRCuZ2U85y/x9DiBQBFAHTT2y+rvAuXEreVCj0N3dX7GsWDv1Oa9BTHHZ5j3TbdZjHSe5chb HvmNzGITFJJ9ZbcwYOWG8E1MFQqfCa1IqZeywLTmLUGI384xFr5MSejfbiP488fQCuvoVeu00PB 0= X-Received: by 2002:a05:600c:214a:b0:3cf:6910:51d4 with SMTP id v10-20020a05600c214a00b003cf691051d4mr22097946wml.29.1672399939101; Fri, 30 Dec 2022 03:32:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuyvNz4H4CAUhlF4mxnZIIIX/2FxJMl1v41S8jUhr1TFV0zd/ZnoTK01haVO0OFBOoUnJaEbQ== X-Received: by 2002:a05:600c:214a:b0:3cf:6910:51d4 with SMTP id v10-20020a05600c214a00b003cf691051d4mr22097907wml.29.1672399938744; Fri, 30 Dec 2022 03:32:18 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id y22-20020a1c4b16000000b003d01b84e9b2sm27638432wma.27.2022.12.30.03.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 03:32:18 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= , Martijn Braam , Sam Ravnborg , Robert Mader , Tom Fitzhenry , Peter Robinson , Onuralp Sezer , dri-devel@lists.freedesktop.org, Ondrej Jirman , Maya Matuszczyk , Neal Gompa , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Jagan Teki , Javier Martinez Canillas , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Rob Herring , Thierry Reding , devicetree@vger.kernel.org Subject: [PATCH v4 1/4] dt-bindings: display: Add Himax HX8394 panel controller Date: Fri, 30 Dec 2022 12:31:51 +0100 Message-Id: <20221230113155.3430142-2-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221230113155.3430142-1-javierm@redhat.com> References: <20221230113155.3430142-1-javierm@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Krzysztof Kozlowski --- Changes in v4: - Add fallback "himax,hx8394" compatible for the panel controller (Jagan Te= ki). Changes in v3: - Fix example snippet for `make dt_binding_check` to pass (Krzysztof Kozlow= ski). 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 | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,h= x8394.yaml diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx8394.y= aml b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml new file mode 100644 index 000000000000..058b4eae68a1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml @@ -0,0 +1,75 @@ +# 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: + - Javier Martinez Canillas + +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 + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + panel@0 { + compatible =3D "hannstar,hsd060bhw4", "himax,hx8394"; + reg =3D <0>; + vcc-supply =3D <®_2v8_p>; + iovcc-supply =3D <®_1v8_p>; + reset-gpios =3D <&gpio3 13 GPIO_ACTIVE_LOW>; + backlight =3D <&backlight>; + + port { + mipi_in_panel: endpoint { + remote-endpoint =3D <&mipi_out_panel>; + }; + }; + }; + }; + +... --=20 2.38.1 From nobody Sun Dec 14 20:24:13 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC0E2C4167B for ; Fri, 30 Dec 2022 11:33:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234884AbiL3LdV (ORCPT ); Fri, 30 Dec 2022 06:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234874AbiL3LdJ (ORCPT ); Fri, 30 Dec 2022 06:33:09 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B06C1AD95 for ; Fri, 30 Dec 2022 03:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672399943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6dCzUPtmAk1gBlo8IpxXy5b7SLySSKCpXJ1OVNp0Uxs=; b=Pbhg2PHhvfhaaA51CumIRrcKmCgXCXgbmEQ1+4gxFFuUDlAMdtRkYbiEzTeWsvLWgMCZtj vOnz/hJ/9HwToK6pkvO/gM/4CWFrmztrOU6ysSUngG+62u2kksPjx5CEp3B7Nr/9Q53QW6 UcPMQo0m7LNXubIuZYBqS0Ye9JKGw9s= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-509-Ou0bq-udNVOsaVUx4wstbQ-1; Fri, 30 Dec 2022 06:32:22 -0500 X-MC-Unique: Ou0bq-udNVOsaVUx4wstbQ-1 Received: by mail-wm1-f70.google.com with SMTP id l31-20020a05600c1d1f00b003d9720d2a0eso10368388wms.7 for ; Fri, 30 Dec 2022 03:32:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6dCzUPtmAk1gBlo8IpxXy5b7SLySSKCpXJ1OVNp0Uxs=; b=Ql/N9Fx4PG3ddMbMW4klPPHLS3VsL6Yym6BF2QcAG9QAmfK7F01Wb1meRP2oi7Pipf 8RIzasxxhmwEjNoTfY/qUxt5A6ZIXDc7ZsE6j9oEEKl/EKBPzYWwt5/OjCZgi7y4XY6q 4spRNj0WCtJI0kclvQgBiB7TGiNdEvZYjJD9apJFk+vFDm+xoNlrSAEBmxYy5K0NWjMT xif0P0BQC4FzVPPr0l3EzDW7RGAGKCO/CsXqAbV4xrPkGg7YySIkMgjZeSbZH4YNOyJj Mz33o2n0iRKzrMTXoEYL13YozjFzIGVbPfsCUhkOGK7VyPXFP5VLaMnGwJpGgOer/qQ0 64OA== X-Gm-Message-State: AFqh2kq6gIe9KadPYmjD8v10oVBPPMn72PQZqhuykX9o2qj8DZkQIUXH OjbgvO0FEM84ab+UEKggvWxKisJMJGcFRDDxAbL0pLJ48TnW4I8WEIkGraxvTUUYMMHQaOzprjb TWERfx3/fk9cUtk+/avmQqw3wsd9YNreVZGHrJDS0w+fIhgcYZ21DxxOGbOe0/pL6isCDsSBPkN M= X-Received: by 2002:a05:600c:3d12:b0:3d3:5027:89a4 with SMTP id bh18-20020a05600c3d1200b003d3502789a4mr25799463wmb.7.1672399940826; Fri, 30 Dec 2022 03:32:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXt3Gtt8pWK+u7hmfZZ1U28VO05gneLhLUZP+rI80tTWKZFJiyZMKc459LhgXLrHssxsIENz2Q== X-Received: by 2002:a05:600c:3d12:b0:3d3:5027:89a4 with SMTP id bh18-20020a05600c3d1200b003d3502789a4mr25799428wmb.7.1672399940396; Fri, 30 Dec 2022 03:32:20 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id y22-20020a1c4b16000000b003d01b84e9b2sm27638432wma.27.2022.12.30.03.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 03:32:19 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= , Martijn Braam , Sam Ravnborg , Robert Mader , Tom Fitzhenry , Peter Robinson , Onuralp Sezer , dri-devel@lists.freedesktop.org, Ondrej Jirman , Maya Matuszczyk , Neal Gompa , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Jagan Teki , Javier Martinez Canillas , Daniel Vetter , David Airlie , Thierry Reding Subject: [PATCH v4 2/4] drm: panel: Add Himax HX8394 panel controller driver Date: Fri, 30 Dec 2022 12:31:52 +0100 Message-Id: <20221230113155.3430142-3-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221230113155.3430142-1-javierm@redhat.com> References: <20221230113155.3430142-1-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kamil Trzci=C5=84ski The driver is for panels based on the Himax HX8394 controller, such as the HannStar HSD060BHW4 720x1440 TFT LCD panel that uses a MIPI-DSI interface. Signed-off-by: Kamil Trzci=C5=84ski Co-developed-by: Ondrej Jirman Signed-off-by: Ondrej Jirman Co-developed-by: Javier Martinez Canillas Signed-off-by: Javier Martinez Canillas Reviewed-by: Sam Ravnborg --- Changes in v4: - Add Tom Fitzhenry's Tested-by tag. Changes in v3: - Add Sam Ravnborg's reviwed-by tag. - Move driver patch after one introducing the DT binding (Sam Ravnborg). Changes in v2: - Add year to driver's copyright notice (Sam Ravnborg) - Remove unused