From nobody Wed Sep 17 03:19:56 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 5E1B9C4332F for ; Tue, 27 Dec 2022 11:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbiL0LFC (ORCPT ); Tue, 27 Dec 2022 06:05:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231613AbiL0LE0 (ORCPT ); Tue, 27 Dec 2022 06:04:26 -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 1355C95A4 for ; Tue, 27 Dec 2022 03:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672139024; 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=woUir0Lts/Iv/2E8U+LoYyfYL4VWI99Q3r6CZZFNa7I=; b=iJMWltozYAWAlvI0LG0WBiOAwmpWcbgwcz7Ouu22+0Yb0D/NrjMfzk5dSbU8C4hrty9b1s 7zk2+X09fIyCUo0HLSeid3kX2kfAYTiyJcbjXAi+OMFKL7KbyV8FlfysHaLLs91QnvWsj5 2iEkzGztMP0Kn4r9Nc2SRrjm+YzCTd0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-383-1QJBs5ptO6iLaDaJpdW8Hg-1; Tue, 27 Dec 2022 06:03:43 -0500 X-MC-Unique: 1QJBs5ptO6iLaDaJpdW8Hg-1 Received: by mail-wr1-f71.google.com with SMTP id j27-20020adfa55b000000b0027f710a6ceeso364028wrb.14 for ; Tue, 27 Dec 2022 03:03:42 -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=woUir0Lts/Iv/2E8U+LoYyfYL4VWI99Q3r6CZZFNa7I=; b=Xbw9lDKHI8NPgf5uMeKB8qKZqfEfnVVy5yYnPL+vsJ7O1HcwT5i4/ielQTHc/4somv 0g1cs4CJ6S4dJKJBeTG14C7CWT3T2lNqfr9PyJE7WAsR9qKcBjbqN8nnXUWstQo6NquF sON6MKBvvRbTJ/riXdjGkIBeYBpmpwswFh07dDC2T/aLUDSjXlMz1oyFhn1v47II5U7D 2cn4RlFLupzBR4d4iXkv9SKWyqP3oJcfsMOxljGokYs5JWRmGVt8esr4z9KOcqLQos7R Kxt/T8h3Q2izGMvDYRk7oc5V8ei09sEfFtu6ARGRGNyQnD+ebMvjebNqlnMkIXQ4i6zZ y2dA== X-Gm-Message-State: AFqh2kq+lgqqROrYkM2c6/7lBa3BbvO3IYsOSuKH2ptV9WQI6qwveFEr GoJwMqoUM4djJeKuHhUK5NUU30Fcaox8/mxCaxMD2XJNA51TKlwSS+Gq4Wm3YOFGsDcosTBgBVJ IOpWXKkwgao6sKzQhbmK3/FpEjGJ0I2oJJpsanoabEEJPwWVYxcpVAw6+h9GtadA81pfvD0lO+v g= X-Received: by 2002:adf:e283:0:b0:242:324e:b3d with SMTP id v3-20020adfe283000000b00242324e0b3dmr12664704wri.1.1672139021706; Tue, 27 Dec 2022 03:03:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXu7zMUDKll3qV0ZETnVhuW7RvKZ8fTiq1amBtPxkYibGhjX8ph/GklBGnF4PA+Z7Kdki684zg== X-Received: by 2002:adf:e283:0:b0:242:324e:b3d with SMTP id v3-20020adfe283000000b00242324e0b3dmr12664672wri.1.1672139021448; Tue, 27 Dec 2022 03:03:41 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id p18-20020a056000019200b00279d23574c4sm7374557wrx.13.2022.12.27.03.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 03:03:41 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Peter Robinson , Martijn Braam , Maya Matuszczyk , Sam Ravnborg , Neal Gompa , =?UTF-8?q?Kamil=20Trzci=C5=84ski?= , Tom Fitzhenry , Krzysztof Kozlowski , Robert Mader , Onuralp Sezer , Ondrej Jirman , dri-devel@lists.freedesktop.org, Javier Martinez Canillas , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Rob Herring , Thierry Reding , devicetree@vger.kernel.org Subject: [PATCH v3 1/4] dt-bindings: display: Add Himax HX8394 panel controller Date: Tue, 27 Dec 2022 12:03:32 +0100 Message-Id: <20221227110335.2923359-2-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221227110335.2923359-1-javierm@redhat.com> References: <20221227110335.2923359-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 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 | 74 +++++++++++++++++++ 1 file changed, 74 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..fb1981cacfc8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml @@ -0,0 +1,74 @@ +# 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: + enum: + # HannStar HSD060BHW4 5.99" 720x1440 TFT LCD panel + - hannstar,hsd060bhw4 + + 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"; + 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