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: 128778 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2097337vqg; Mon, 31 Jul 2023 08:41:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQfLdod3VXtre/OQl8xvmr/g8SBxUfU+7qYLYwrjLSaN+vkIdS5yo7iCLiAJSuyNLsjzqC X-Received: by 2002:a17:902:ee4d:b0:1b8:a31b:ac85 with SMTP id 13-20020a170902ee4d00b001b8a31bac85mr10618501plo.41.1690818078860; Mon, 31 Jul 2023 08:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690818078; cv=none; d=google.com; s=arc-20160816; b=ixOKWr9hu6cDLrRs9hsyNPe+ETCHBMer+VjKQ+1aZLyJ7oKTw68JY+nOPEDY7FWdC3 4w87sk8N+s1zv29+1l4s8oHNgBsUkby41cf+TTymJbJ6LBRRft3IxGoWXZOMrEldrtg3 TIhwWwZ3iN16cI+x1dDXDullNP7MSK+dDnr3zgFkDl52c1e36BHaOpIWjhgvxlxdyqHx bTROd9oUaaVvWw+bYaeb64bGaSGLmXcGuYsFIQg+AfyV4M73vR29xxL0XZkiub802U7P if2RHraeBNlX8+MWHVdQ8lUUEF5KAykaOhS+chLV197tim54BziqcLwDOWocPxuSSqNy YhIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=8Ye7/VW9cCinL56beHP9cBXIlGvn2H6A5gltzFR9xZA=; fh=y1FkPiC1EP4+SKwHKnJr6fs2SplXb7iHcv53cdjqlBA=; b=J+bDSmxhANa3Zclyb+5zW9J1MxhlwmgHubohr8X2ueTSS10cQvzoCvFiuCzVCoWVKg v8ch/Hilb+HBzfeQQE7lkz+A+DZCESnynJpD0NdiR4C8cPTsZbWRJyO1WVZUFZT3pEQG sRl+sM0+7R9dRFIT+Z5GFmMf5k4F4VhSIkwUu7XtT4FoBlt6RRIlaTEAEx6cEnSJPiMn aGUCBe5zC0DdpbMwbPKcTkm9gCjkqj+j94ddlLVpK2f2gh0LSkiYS108CLrCs5CGBPjX 4GU5T8Pkg0clnwJGjRCg0p9XyV4P476IMYA/NpRLTIUr14wKMkaqMCrq7GuzEpH8LG57 nJFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=UTwJuQjC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a170902cec700b001bc02b730f3si3162878plg.242.2023.07.31.08.41.06; Mon, 31 Jul 2023 08:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=UTwJuQjC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233184AbjGaPJS (ORCPT + 99 others); Mon, 31 Jul 2023 11:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232932AbjGaPJI (ORCPT ); Mon, 31 Jul 2023 11:09:08 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E4F71989 for ; Mon, 31 Jul 2023 08:09:02 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbf1b82d9cso42897095e9.2 for ; Mon, 31 Jul 2023 08:09:02 -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=hJqvLildqVD/n1ZsFs5Y+Xhg9W90Mf3fXXxO4Segt2VrJXBInMKWQrhoN2p4JBuJxE Z9yoYxZ94QMXTtm1oCCh08r+G7pGURySAqSZEiaDYcfvv2ol1rPXPCbA93X69c7NEeuW zYkvjD4DJp0V5tXAyfAwXYVzQtwdfUvSanZn97krD4zyDn+rikmWl/5E0y/EXf0TWMwy PP0HghOgQxYkGf037QvmEl8EPpw4o7u7Z4A/3CZLt5aPTdP7A0FK0lJxgG3sH0Sq0AJW GKepk/LDQr2TFrbKJ8vcqEXpG7hHLwIN3kEoWPXRg2AJrFfSeIC8q+5e67EvyjCd71mB cZDg== X-Gm-Message-State: ABy/qLaBZFRcWXj+Y2vnHg+Y2c8xXVDvU+0YqU4t1xu6byhZ153zwXYM 4yan0/lS93b0qQnk7bQYkaujLg== 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772951257976662087 X-GMAIL-MSGID: 1772951257976662087 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>; + }; + }; + }; + }; + +...