From patchwork Mon Jul 31 14:31:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13334876 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73236C001DE for ; Mon, 31 Jul 2023 14:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HMo9Sp4isno9MWDpJwGjdHs6EFqA+3EvCgBDl8NoPw8=; b=eYThbFa+jT8seo Fqd8O0ZwBX+88pz4zn6IFfOXsPQf5Avpq2AX+6il/iGEFwHlUmz3o+krySMHZ/E8vVIg8PYygpyEM yQBQgIXn4o7GTdmR0FamXkWZYU7de0Kg57bZYLPMeL8c4T0OizDL0TOg4HLZlrH3xX5ZGy2KX1DKg YxW5vi/WMGU/jOoEfs7yStT2WBAgajNbi2+VO7E2N9JkMR0UjmN0vndWWMiKOcZb6qg0JY0VbtHox pmsKy0sinq3I1YqPrkRaiOuvCB678ct1n0I1Em9tcRoZbzm/BmNYFgwCTnX2DJ4UgMBHOfz7fLTMw +8OTb26kllZrs4EPhtgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQTwI-00G8Qu-0D; Mon, 31 Jul 2023 14:32:02 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQTwE-00G8NN-0E for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 14:31:59 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3178fa77b27so3013928f8f.2 for ; Mon, 31 Jul 2023 07:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690813914; x=1691418714; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8Ye7/VW9cCinL56beHP9cBXIlGvn2H6A5gltzFR9xZA=; b=igQzoWr1vYjzOo46/BtQNE9CysTmQlLyhA+/wst+Od/HFtUmVc0mepBRDzGu13F8e5 2wxL+oPNEspqPtR6ZgY2c+3TxCWIyCYw88iEKJHUq7zma8cLlZfyZvRwA5VhCelcWUpR BXxGB4DqWIjhQNA7PYZh17iAd387hEXRX7q1nInTgHUdlS2D3SmvhPvGEAoT6mTF/K5O 5f/QXcLp4E3KmjdoF8ApC7VR5lQp2VXbVFaqW5dVwzhtqLrpqiTazilca5Nbt/x2lB2Q oRKh1wVwtf1ohzgPHYm8M8+SeAqcFMekDfMvAs022PeDR9OMtAKUMG0NoEOD1sfT7Q6T AdDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690813914; x=1691418714; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8Ye7/VW9cCinL56beHP9cBXIlGvn2H6A5gltzFR9xZA=; b=BCrij5h49MP/AB8TBjctTXiUocoh9/NqMEGWu7fqM+CYICuU/tRsnqpcJCveihpSRf WV92HlQLLdKrtYyySv1BRbrnWc7Gkcf+EgmsZ7ZnqhkUOeorxP5c92W5+2xTrNH+wuH1 RGT98p5Ezz1f2WODG2dgOeBqzzpKSwweWEuUDeRcel0V5VS4xWT0CLyuMBNjm9sIMb4O dFQysxFcpRu1JB7BWxxCcce34b02qjCmG9WJulgDln6m9jV0q4buY7hRfR6Cx8+rmfLE lk+QGc/f5y+Ou+Frs0HaF+ZAtTJMeznsgK7zkkykw+nz6IiDfsOlUPY/+cir0Xos/sRC lKQA== X-Gm-Message-State: ABy/qLZJJ8TM3FtqY16I8rOBxJg74utk5emlSlc0kjwJlK68jJDpGKIw +kGcVfl5Zp9fJ6u45g5DZ4EXbA== X-Google-Smtp-Source: APBJJlG6QJgGCbwJCPNmuvbi4+G/7ZFPi+htK//Xdcz865dxC4Te6P8Ta3huIlfE8MlCZ5g+O00GdQ== X-Received: by 2002:adf:ec05:0:b0:313:ded8:f346 with SMTP id x5-20020adfec05000000b00313ded8f346mr10488wrn.22.1690813914111; Mon, 31 Jul 2023 07:31:54 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i8-20020adfefc8000000b0030ada01ca78sm13301675wrp.10.2023.07.31.07.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 07:31:53 -0700 (PDT) From: Alexandre Mergnat Date: Mon, 31 Jul 2023 16:31:45 +0200 Subject: [PATCH v3 1/3] dt-bindings: display: panel: add startek kd070fhfid015 support MIME-Version: 1.0 Message-Id: <20230711-startek_display-v3-1-dc847e6b359b@baylibre.com> References: <20230711-startek_display-v3-0-dc847e6b359b@baylibre.com> In-Reply-To: <20230711-startek_display-v3-0-dc847e6b359b@baylibre.com> To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Matthias Brugger Cc: AngeloGioacchino Del Regno , Guillaume La Roque , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Mergnat , Conor Dooley X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2211; i=amergnat@baylibre.com; h=from:subject:message-id; bh=602in0caqHCjA6zQgFgfTHmUoHJFTSnnwXSt1PAlxS0=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkx8XXBqSOiQ0tkYiNDhu8PeKrtLIX65043CaAnJZj VN49SnWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZMfF1wAKCRArRkmdfjHURUuNEA C1gf11Elqe8ZepmWNfS9E98JTgyvI1jalaJ5lcSb2p2XdHS0Jn2/dZnnt4pe6zuL0R/9hYDjXcph3l AFwoQ+klfWI3cW5+cAuU2uGuUiibDieL6C0AswvKlda4YAZbu1cetpdj8IDpC3DmiQKwzZsFFIKY8d NZ2BychTi9BgN7WJ9oNcCghPQuwjX7ifPLWPry1lcyJVMlQJPbLuc0/KQyg6JloCFjD7x2fNt9QM8e KXLTGNDiqScKrtnjpbdie5JEMXUhSoz3Dy+LYvWGZlol3IWWmSV5bmTb5N8Mly4Ygxt3UzuWA4QT0m tSVAkrqhkMWcbQCvIElFwVbSAVakDt3pqTANb0BChDEv7200nKesg8teq7dPcvs+bTYJo4TKA9GxMY D5vK3VuUtzJrsa5+fOCmYwk9rpXnoD4r3xeh04yrIvqh4i0MUaaq+6xYtgXVqUZsJzYizZP/97scOf P3OuxUUjKP86hyPXW5RsBphs8zUfQ8EE+1SMbPZ0ylufkM0aeYWWu1jRorRHwdLM1IMUR+jFDQC45R aKt+nhkEMmwWzY9tKpjI0gV55NEzhVpVB77W4E9YJfmRkRXp3Cj9AOQuRuQIwGnhXsicnXgqBmk0iJ FBUOGMqAMeilL53CbvnOUnGnYa33dP/RgvrjT3GWKasSdgxarEygRvlAjQNA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_073158_106061_93BF8E7C X-CRM114-Status: GOOD ( 13.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Startek KD070FHFID015 is a 7-inch TFT LCD display with a resolution of 1024 x 600 pixels. Reviewed-by: Conor Dooley Signed-off-by: Alexandre Mergnat --- .../display/panel/startek,kd070fhfid015.yaml | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml new file mode 100644 index 000000000000..d817f998cddc --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/startek,kd070fhfid015.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel + +maintainers: + - Alexandre Mergnat + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: startek,kd070fhfid015 + + enable-gpios: true + + iovcc-supply: + description: Reference to the regulator powering the panel IO pins. + + reg: + maxItems: 1 + description: DSI virtual channel + + reset-gpios: true + + port: true + + power-supply: true + +additionalProperties: false + +required: + - compatible + - enable-gpios + - iovcc-supply + - reg + - reset-gpios + - port + - power-supply + +examples: + - | + #include + + dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "startek,kd070fhfid015"; + reg = <0>; + enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; + iovcc-supply = <&mt6357_vsim1_reg>; + power-supply = <&vsys_lcm_reg>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + +...