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: 128775 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2096750vqg; Mon, 31 Jul 2023 08:40:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlE6AJBf84HQJrAHpWIP9lVOAAD5zo3QWWUaFVL7JY/C+OjDICc2qe+rq2qS1xtlMXFp31lL X-Received: by 2002:a19:e018:0:b0:4fd:f7b8:555 with SMTP id x24-20020a19e018000000b004fdf7b80555mr174550lfg.19.1690818003255; Mon, 31 Jul 2023 08:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690818003; cv=none; d=google.com; s=arc-20160816; b=vfp2X1sUhV4Zk6iFmDDTVYCQiq4Hk/lGAbf5XzIGiK1d8ZLNyn7T93Sn9RFXCd2De4 MVNVsJcB629x4TO7Uqx9PpNXA6YFXHECEkb2ThPJvij4YWhb4aKZi2u/9Xyq6fe/VK3Y PavyzW9mdu7ito6LtUn34LO0BXV4szfaj2pBmk+03FSj45e1XfybrmdVhA+yKkI6df2u V2+3dQRSoGMT1SldoSIfoaWxkFgBFmp2CKwJPUZcTCPrUrv6gJbL57UTiB0P1a4uQBeK z1Q+XQoGg94mo2idjnnQab4pDgI1tSQMAcE0O8x3hzaSyYQFV5a0yaZb8J5C0aNxZFJu WP7g== 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=WomYJMugTdDm2z/H10rVafuwN9ueAueULZbuYsSvG4npGPCI9D3++c96HLa6nHHF1J d1HzB7d0nba/FI3du15iJNfJiHjb0jyFtqS6VbkFiDPOMnuKu+2koUAPCl5tWJ6+DsYF Lhn4neZxDA7D8FZ40Tnj7aNrhrloaBDynaZAAxM1lxGjtz/Lq+2K0z/p8YWerJo9DkYK BMlhdL71Ot8V58J/BxGXACDdDY+emvCzpk4YIBnUPlAnHoRnKMA9D805fHAcTxaMlBE1 mKJ1L/mOzB1jaG7kV7XpaPtgf1xQu9a/qkbONp8Y19DeZR6oK5ymIKmRwx+y1SFmqlc6 dJNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=igQzoWr1; 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 w23-20020a1709061f1700b0098e78ff1a8fsi7143571ejj.358.2023.07.31.08.39.39; Mon, 31 Jul 2023 08:40:03 -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=igQzoWr1; 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 S231955AbjGaOcC (ORCPT + 99 others); Mon, 31 Jul 2023 10:32:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjGaOb5 (ORCPT ); Mon, 31 Jul 2023 10:31:57 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB54411C for ; Mon, 31 Jul 2023 07:31:55 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3177163aa97so4843429f8f.0 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=MXw7dJBPkdFJ5hDaDFYJa8Hv2FoAmE4YXiYkxOW9UuuZvxN/iPl4sB7uiwF6ecHmtD f0aiCX3ClNU3PAGarcPruYyj2yCzyxexRRwNYr9cK+9AiZckmzdZxN7bHmM5MANf7nlc vDGHxv2bFa15K/rwChl9d2qsqc732GqjF9OiR/SfW4hmCdMwsoefTZbPlrUhANsQ8ZW/ oX94vyEHaD9iiTspU8a77/Opz53ejifmo7vtpmEHD5O20ju1vG9A/vncI2k26SPuKbAu rwg5SZtPsNfrAzItWjeAeCDUgm8yCgsJgSfUvPBaaTSUNvoYDUugSqDXgWXEB/XzALyx dVIQ== X-Gm-Message-State: ABy/qLb5+NAUBBY3eAx8HTvJawuFqCjkkn7DglP35PyRpsm6rZyL6OVF 6dFHtZCiPMDoizMutpUjgLLScQ== 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-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: 1772951178279478224 X-GMAIL-MSGID: 1772951178279478224 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>; + }; + }; + }; + }; + +... From patchwork Mon Jul 31 14:31:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 128764 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2077006vqg; Mon, 31 Jul 2023 08:07:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlEorpi94HgtRlVSzC3GcYoEk09GLKbe4A/cbpe/OMw8JALWFlF1SC2wzZYyu4LOD1pKwZ69 X-Received: by 2002:a05:6a20:7353:b0:137:bc72:9c08 with SMTP id v19-20020a056a20735300b00137bc729c08mr10093411pzc.16.1690816050704; Mon, 31 Jul 2023 08:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690816050; cv=none; d=google.com; s=arc-20160816; b=yed2PlYWk89RijOaGa58r+V9j4stAbqwcuBPcySPqewed5FNXSXSZFA3PKaZ1fxIvi 6ebqGHDKSdKejVIf4KK/9ArZuNxvguZFKeFN0Blj46ePNM6zaVi6Qy4IpJdgExUOSKPe Rt3pi3kSVOk1yf196F/BwLddJhqDkcgzghvCyanpjEA6uO2s7OvyLRftkztNhQfcALSl bdSyfqFR58ijUBwR05qpGxdn3xv+QFo2cRFYFz5QYYpeGOEmtkgYtTjfpWIFsEr+P8+A IgylEAe/reqN5SRCIhAskHPWgB9g6Fwp6q81rnnY85QE0cPY0Q1EDxtuGgEQ6YBJ74co pR+g== 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=YxpXkYaIGzW41hant1uhDW37umD82oGFuc0Z2kbuN2g=; fh=smXMDKtLor+aHS8bIbqJiSbMqJYdUXW0XR9HD2WmoiM=; b=w+FQlZd6Sv8LInEf/oA1iSgz/Si2aL0Z7mzclV4F85xE1rBVcfNN3wuLAIinrAScqI fVcODrLkIdyJEddZ2ha7HbuYELuQpK8dGuEdiw0P5dC0cLOLe+5J16DttEZS6nGzc5u7 CwJrJpO4LNYjy/BtW9dhhAEX5cu2KdudLYro7mcP12JFUSVWwnjjjRhpvcAGxAF3Y+RB U5Nj+wX88ajjdTsVYoloob6/d6fxblre8h1MrcWAhytHkLq5TeQLC7lfof9f7PQePnwx kuJfXEtT1JvFTKgJeJ1hnWp5ZTEiFHASz8mZMNofyt0ykrqXvdozYjfCRFYMx0EA7pAS JXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=yoGy8HAZ; 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 u189-20020a6385c6000000b005635f437affsi2723661pgd.11.2023.07.31.08.07.17; Mon, 31 Jul 2023 08:07:30 -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=yoGy8HAZ; 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 S231977AbjGaOcF (ORCPT + 99 others); Mon, 31 Jul 2023 10:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbjGaOb7 (ORCPT ); Mon, 31 Jul 2023 10:31:59 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 379D3B6 for ; Mon, 31 Jul 2023 07:31:57 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3fbc59de0e2so42730345e9.3 for ; Mon, 31 Jul 2023 07:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690813915; x=1691418715; 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=YxpXkYaIGzW41hant1uhDW37umD82oGFuc0Z2kbuN2g=; b=yoGy8HAZ8YkvvGYpl1Zy2qRRfPuU8pBYdkPf2AhI1ZDZGxTZM+oD0bB9ASvEWKqjAP u2paIPaFD6n7Y5dUaHH4uCZHXFFHrLvNTWY935Lwof1pkPeMawo5TjBLuW3fYr8+6G0k wU+HHAob0Gi5dKoTcULRn5Ld+lmt4Nzo4VGDN/jsXF9akoq1WvADX0SAGEEx1+D2ZdWr kE4Hc7BwC38Q6LCK4NUeyPzZ6f1N+GYUEH3ugILbIue8mElh/8B0gHpityT6CK4dayjV 3B6FXj9XvDOt4BewRTfvg9t9eHphDXD0AyAZA1AEVaDIujtwrCSmjk14hHN6yAAuaL+9 0NEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690813915; x=1691418715; 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=YxpXkYaIGzW41hant1uhDW37umD82oGFuc0Z2kbuN2g=; b=XdliBtjAthfOCVajW4uHDHK81iNGyPxD40mbiihxom56tqaSt4JniMNNz/HB/Dn4lZ LV1t+wJmQLdSURo3J8+SHoq195sJh9lmfxRMOTKr58kBj1JbZdo5TJsiI8O8wlN5HlKQ GyGRm6MpErpNezlFepohzdIFRInMbejNydbg6aWNoP1yYznAhDgkTLt/E6cdtfOQ2M/F eaZSJdd0YJF4P22k6Mjs8NLbuomlj+Ka/ZhNPCa2X3hR6KrW3nGs8p0zB5BiTrlohfoB j+B96okrGqXsxp2HiSFqz1yqAQGSnC0A/HnrqH28Ap8n3RuJACZ9mLRuINYeqPmpB6tJ xy+Q== X-Gm-Message-State: ABy/qLZvAXE9D+YZpYZJ8ncC8P/ow7HIcCsSuXuIHedXf6hU0LhJ4RMb BZwzM+nL3FD5KzoTzEW+P+a6HQ== X-Received: by 2002:adf:edcd:0:b0:314:8d:7eb5 with SMTP id v13-20020adfedcd000000b00314008d7eb5mr8901wro.29.1690813915666; Mon, 31 Jul 2023 07:31:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 07:31:55 -0700 (PDT) From: amergnat@baylibre.com Date: Mon, 31 Jul 2023 16:31:46 +0200 Subject: [PATCH v3 2/3] drm/panel: Support for startek-kd070fhfid015 MIPI-DSI panel MIME-Version: 1.0 Message-Id: <20230711-startek_display-v3-2-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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=12977; i=amergnat@baylibre.com; h=from:subject:message-id; bh=oyKSogIgtFI+FXdejaJbM0UC9Km/nJHsUg1q0asfWDI=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkx8XX07Cp5h7VaRK6yvHJd97T8K0QDxTLe1kHdk6s Pmeg8OSJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZMfF1wAKCRArRkmdfjHURWjQD/ 92YExgkVbr03f1d4by5WdIdig6vFThSB3PjrckRYG6xiKQxC8MPpbpRa5LL84aKOhSdTHdNFHGcc0z v4UoBBhk7G8WweeLeBlr34M39mbAKUykRPqQDtznbb4AaUI5OP09WLVIaTGQgMNkQFO/fFNKYQAU3z O8+dnrTO2rqPi3QZNMCUjGdOoJwsjLVmKu95c3yX41AFzke1RDTAVySioD2DkKOowyINFrbfPz6vyS IkteI40WZzS7eBjb1enQRtUxkAaMjIRw5jtgIocBZ7PFcOnFcMdClqIu+cCDpRbge0/KcNIGIBg8qe 2VY/Coh1gfV7hMUbhvmBmCb8WfqmluPAmiXZM8ZLpE+6XDUDi0qPPa5d7G5KA0GjAYDJnJ+mf1Y9Zr joFGaKk0vs/t/q9NtSRaWgwbc+X5tAi2QfB54AH7G/BzuyjiWfqKbHn8oJLYQmxL+OQ2WZGwuuFIlx KcJRGybLBaZWPL37L6Ldvbnrz9+0Wk1gzWi1C837DqSjd8Nlc+axzg7pG5cNokrBZtnl1ef6eBiNSs bMC0n0ZR10/WeGnCdJT7hZIOhj33vLQIrvtG2H+zg9TrNvHB9VNuM0OsrZgH5U94+c7+2n6Kk47CAg CctMg4xwOixKM/aO0nxzFCfmn8+Hfataod/VT+/MjRUx43xxa4bvGwvSmhvQ== 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=unavailable 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: 1772949130839733243 X-GMAIL-MSGID: 1772949130839733243 From: Guillaume La Roque This driver support the Startek KD070FHFID015, which is a 7-inch TFT LCD display using MIPI DSI interface. Signed-off-by: Guillaume La Roque Reviewed-by: Neil Armstrong Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 412 +++++++++++++++++++++ 3 files changed, 424 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 203c0ef0bbfd..c45e877c22c1 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -733,6 +733,17 @@ config DRM_PANEL_SONY_TULIP_TRULY_NT35521 NT35521 1280x720 video mode panel as found on Sony Xperia M4 Aqua phone. +config DRM_PANEL_STARTEK_KD070FHFID015 + tristate "STARTEK KD070FHFID015 panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for STARTEK KD070FHFID015 DSI panel + based on RENESAS-R69429 controller. The pannel is a 7-inch TFT LCD display + with a resolution of 1024 x 600 pixels. It provides a MIPI DSI interface to + the host, a built-in LED backlight and touch controller. + config DRM_PANEL_TDO_TL070WSH30 tristate "TDO TL070WSH30 DSI panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 30cf553c8d1d..f8b362091ce7 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -74,6 +74,7 @@ obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o obj-$(CONFIG_DRM_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o obj-$(CONFIG_DRM_PANEL_SONY_TD4353_JDI) += panel-sony-td4353-jdi.o obj-$(CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521) += panel-sony-tulip-truly-nt35521.o +obj-$(CONFIG_DRM_PANEL_STARTEK_KD070FHFID015) += panel-startek-kd070fhfid015.o obj-$(CONFIG_DRM_PANEL_TDO_TL070WSH30) += panel-tdo-tl070wsh30.o obj-$(CONFIG_DRM_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o obj-$(CONFIG_DRM_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o diff --git a/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c new file mode 100644 index 000000000000..1ed950195cdf --- /dev/null +++ b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c @@ -0,0 +1,412 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2016 InforceComputing + * Copyright (C) 2016 Linaro Ltd + * Copyright (C) 2023 BayLibre, SAS + * + * Authors: + * - Vinay Simha BN + * - Sumit Semwal + * - Guillaume La Roque + * + */ + +#include +#include +#include +#include +#include +#include + +#include