From patchwork Mon Jul 31 15:08:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13334917 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 2873BC001DC for ; Mon, 31 Jul 2023 15:09:41 +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=cS+G8wgXeynrJW fAsxjq+lPv5Gu84vyMhw1NyiiIX0JCsBhdxj+jrF+1y3Ea3cazolPLOSUb4A90htse20HWUK6dkee hFGi+DK6IWZZQeDKbVvFsFbtKGJQN4GJNBQ75cg43Iy7gJQJnSADiorT2q7r1HXrF/nghbfpByBOf RgpPtmCXWhoxU4DUZz6wI8qZyi6QOwIPgXjzstK2neWBCM8ZpSLgAi5T69k2+bSYoE1Q7RF1mkAjk ra1rq+JcS7Omj21+5ow6pgpqVpbfDPx4eEHRPticPGFx99O9zRniTLfIB9RGAY5gRfLtnh6wDDkU+ Wrodu9XTp69J4ZwS/wEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQUWL-00GI0V-2n; Mon, 31 Jul 2023 15:09:18 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQUW8-00GHgl-0p for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 15:09:05 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fb4146e8ceso43055925e9.0 for ; Mon, 31 Jul 2023 08:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690816141; x=1691420941; 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=UTwJuQjCsxinJ9YydC3PfQWT7kew5BqP8cn0L94OxwdKmSQQjYuLCxn137omnQy6je 2HfCWJWLc5em8da/g2kBohfFQ9P1wY/5aCvgPfE5JE7sNLiphv83Ikl1EeUS4CVsPQEh 9kqciFnUZFdYgkQLeUCS4UFvDiMKv7PORD1HPnNLak4PdbvoGMyH0eJOxFEl6ea9TQad jccgwJRojly9nSFYK/0hKHrstuFnOO39A/BnuMpOlghnor3DBovWgyR5S4kYU76LwzkX 3ogUh9ty0qmEayV1HyB+gdKcdqikU/ZNw61RcONbuLuL7vPiC4D1OO24YpQVBqr51L3d UhZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690816141; x=1691420941; 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=UbdDwHP8lLFufwDPlSsSHGlfjV1JZHBEKutruuhmQ0wsDVRHIH46wDo2MhmeFSODQo 3t2xxQV7+I7HAnWwkZ48V7W2FGKq+dNr2PLcSYMAWLMRhPHR10WgPw00R/3GFUwjqtYz pvmbhAfuwxRLPEcNmdBbx+0EzZptu0e2rWO3ymMeH8WfoIY6rgFyUC5lYhuq8C0jPxZY +9QWNiNf77NWe/9ZEblJwMQJ6/ckNFNbDPHGkTDewARCRrSF9U1+ZO4o6zItN9TJwxxd KBx7KuccvhV7ZyQnW7qAdKElqZtUs68lI1XPfP8lx/tUzBiU877V9ermmQZFtgdm5jaM byzA== X-Gm-Message-State: ABy/qLZQGJ8qvy7rEwZhiGySxv0a5i22D6qZlqoMfsLZirZosJP+TGDj VcViZO6MtNvl0bpwgzL32XgnkA== X-Google-Smtp-Source: APBJJlGpeXSCcQGjwMQcI9jxu4o0MCXuS5Schjt7Dig/+fsQVc0M1Xo/s0DE8qiaA6D+PRW8Q+aqPw== X-Received: by 2002:a7b:c3d9:0:b0:3f8:b6c:84aa with SMTP id t25-20020a7bc3d9000000b003f80b6c84aamr173872wmj.24.1690816140551; Mon, 31 Jul 2023 08:09:00 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id u22-20020a05600c211600b003fbcdba1a63sm11728791wml.12.2023.07.31.08.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 08:08:59 -0700 (PDT) From: Alexandre Mergnat Date: Mon, 31 Jul 2023 17:08:56 +0200 Subject: [PATCH v4 1/3] dt-bindings: display: panel: add startek kd070fhfid015 support MIME-Version: 1.0 Message-Id: <20230711-startek_display-v4-1-fb1d53bfdef6@baylibre.com> References: <20230711-startek_display-v4-0-fb1d53bfdef6@baylibre.com> In-Reply-To: <20230711-startek_display-v4-0-fb1d53bfdef6@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+MdRFAcsmYgBkx86J9NgOyQYITUTgThD2N4LtHtlxw5gStHVLSk0S /z4CKQOJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZMfOiQAKCRArRkmdfjHURYlAD/ wPOvvEo1m12pew9Qx6nKAld5fcIERELEF3GGLovy8TnEImFN+h9AjPzcMZUTyZOS5wB5On/fDq4XJP kCkeaIu3x+hqKQ2uUKmhEyBjY28mv4+XNqJkEKSkLeN52SRFgrcGl9/EFC1G+PgaD2x7qvYPBN3unW RUmWwVSUjfeuWA67M2xQ8uFqLZrV7rJPqayXpmJmzJjoCdR9Nzz4CSYcS1VTe2RsF8V16NS/iCAg8k iaXG+QVtMehjYAc5fwZfLbmMagk6Ke0ZqqhEDYa82ep9C/rGWmojda7rtiWk0iKl5OIVKuHUH8W1Fe Lq19iLgFDVkKJajKQwCxnjLiWIymcE90+BqewWUxtZukTJdNJcBg9Rev+r1QQOeCM/ANY2CteIM2g/ KClqVhOF7LBJ8i5SFJh07dvntRnwmtHUaRKSaRcJwMF/HyZDCB0KqOVOl6GZ/wRVdad+nDspOM6LA/ q6pwCd2Wu7SlKNB26O2ieNsrFo9e1Kr59jYVxrUFJCTESpKtJ5Wv6VzbmAegRq2MhRcNdUWjocnklO JaZMvQYlC3QOrj54tniVtAilM9Qir1QzIUZ/+QCdlsRW5oyL+Ikbf9uarAJ5FeIzJTg3iw1s7q5xVX GwaW9RL46gIkMNfZrZ5vojF0wwWfwKVvqidRrrx7kUD4se9xUtfk90TAA14w== 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_080904_298046_CEA216B6 X-CRM114-Status: GOOD ( 12.97 ) 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>; + }; + }; + }; + }; + +...