Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8060582rwb; Tue, 13 Dec 2022 01:23:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VHlyQY6v7gu4D5qxPxd9XaSE/nTdyRRQdF88YbBP9wCQ8Uu2iZ1ZyeMAZCTBWRKYrkFHH X-Received: by 2002:a05:6402:e06:b0:46c:2c94:d30a with SMTP id h6-20020a0564020e0600b0046c2c94d30amr18348830edh.31.1670923383264; Tue, 13 Dec 2022 01:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670923383; cv=none; d=google.com; s=arc-20160816; b=gH0g2Bdp2ZVrojWyefNrqYp0m819zWEnOcBjzRK0d34PP/NzAaiXc5Y4g9w/G8pL5Z Ovkw8qXaLKhSh64KAk1ELbHfPFrHjWLAwzZleBCnrgG4LrG48WBSYv8yT+OEPl/oJmPA tj4BvjnDmif4+2P40UMB33jYA2Bm61B8TpWrhshVd31dQZFu/yvSZ5uGUFREe6SKvxct uWUOaUNBEO2JVV7wOu8NVOHDTxY7FSVkY3yTfFXwTmiy1mK0vfHQjx2BMZS0CGE6sILD hJyLX2RoUtHeoDnMb/HvY843JiunEZVBLDqE5yE2ZtVlDOLJWoRwKIyxvysM+LCRUCTg pZPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LKgK29do0XjvBFIa5Qu+YNQa8TUkw4hM3C6J+0E/JwI=; b=mJEFsa1vb2tUekUjQYDdPP4j3hjDOSv8KG/YK4kGhJVUdoFYK/IFzeLX8AtjxdJatP WFZVC5oK7sYkmgnCQ4foF9T7u+8LV0PAt9MBcQpOhdrFCfqfwM5+NUXybMs0CUwhTRYs t+cBrXKgK5dnL7krifcTQfxuQn/SnjAsDYI4LJtfTjuzBCv1MpOACYVTvIgLHpMqQuDJ u/qvTOmE2gD763k7b+ZIRxHPxhUhiX9vW4YxmZlqqm1XmBUCp1iA8aI0aQWYs8knhm3X PBroPff9pKCgrP8jF805bUEQJQ/27dyhR8Qd8sgDNKa3u52T+g1aCrdMZijFqeYaFthP M+RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YgYedch2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020aa7c48f000000b0046db13bf254si8191618edq.93.2022.12.13.01.22.45; Tue, 13 Dec 2022 01:23:03 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=YgYedch2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234658AbiLMImV (ORCPT + 74 others); Tue, 13 Dec 2022 03:42:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234257AbiLMImP (ORCPT ); Tue, 13 Dec 2022 03:42:15 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4691D15816; Tue, 13 Dec 2022 00:42:14 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id bx10so14859371wrb.0; Tue, 13 Dec 2022 00:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LKgK29do0XjvBFIa5Qu+YNQa8TUkw4hM3C6J+0E/JwI=; b=YgYedch20A1eKHsRF60pPQ4MyHukR1G5HNoNrwZwqGqrRpOK5JFwy8Q/ow5LAtZxhU kpnPtppTrK8MKNQaHoXpWUXXd7/tO+ZKUBEc8o3FZ+SMaDeUBJcwxdfRjXBfhJbKSmW2 ioVqQY66mg0LgukTKb5/olYPmiR4CB+Nj43+9vVXUWnXuva0PPSmLb6F7JEvyCx2WeZm 78GoyyXMVedDKxKXFmZofiPXu9XdTAg5xA+L9J4yg0nXddMN8I/QHdHBZ4gqZC4OcxzE /0agH/OdWQAe7F3OK1A16pAmFyZ3ZkKSPTJ199ccYZKEcQdfOzFY6+Dfr4lqjOsldLN4 g/TA== 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=LKgK29do0XjvBFIa5Qu+YNQa8TUkw4hM3C6J+0E/JwI=; b=nAcSOb887sAe9W0z1CMPvisCWMLcKC0THKajqQ+AzYdsJ7eXJnl/GV1nf03ffG4sWR aZ4gtnnXhHPXr0mLQ4tESf/WuwFW8Pg8OmgaVRzH6V9zLHoykhuU+xC7nLFDae4TUyT6 ExKjhy36Y82Q/b5rO0FV7eODt6FyaBntzTBGfT8XDbnmMVwiT9weq3hSY4iHKf7mz4Ne fh3mllpRv9N014EZq3HKdtUmRrQ6z5Cgo6FZF9x3cvRbAxYjDf9YaWmGNJrEZYC7BLAh LyU/Wzy+IISyPZXQe6Bwi1zFu/IllCGWYUA+l1TaD16q/M55K99fMG6y6Ml8wx8Mf4BB jkAg== X-Gm-Message-State: ANoB5pm5LyE08JsvgVfZk+71VRV0iJvABjRnEna/SuzXCCEt3unwgJzR o4eZbyQdz/tQQaaBoxBaHs8= X-Received: by 2002:adf:e710:0:b0:24c:f3b8:816d with SMTP id c16-20020adfe710000000b0024cf3b8816dmr7590165wrm.60.1670920932660; Tue, 13 Dec 2022 00:42:12 -0800 (PST) Received: from localhost.localdomain (2a02-8428-46a0-7c01-bc7c-15f1-6c3b-ad74.rev.sfr.net. [2a02:8428:46a0:7c01:bc7c:15f1:6c3b:ad74]) by smtp.gmail.com with ESMTPSA id ay2-20020a5d6f02000000b002366e3f1497sm11474037wrb.6.2022.12.13.00.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 00:42:12 -0800 (PST) From: Christophe Branchereau To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, paul@crapouillou.net Cc: Christophe Branchereau Subject: [PATCH 2/2] dt-bindings: display/panel: Add the focaltech gpt3 Date: Tue, 13 Dec 2022 09:42:03 +0100 Message-Id: <20221213084203.17729-2-cbranchereau@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221213084203.17729-1-cbranchereau@gmail.com> References: <20221213084203.17729-1-cbranchereau@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Add bindings for the focaltech gpt3, which is a 640x480 3.0" 4:3 IPS LCD Panel found in the YLM/Anbernic RG300X handheld. Signed-off-by: Christophe Branchereau --- .../display/panel/focaltech,gpt3.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml diff --git a/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml b/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml new file mode 100644 index 000000000000..969f117c51ec --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/focaltech,gpt3.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel + +maintainers: + - Christophe Branchereau + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + const: focaltech,gpt3 + + backlight: true + port: true + power-supply: true + reg: true + reset-gpios: true + +required: + - compatible + - reg + - power-supply + - reset-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "focaltech,gpt3"; + reg = <0>; + + spi-max-frequency = <3125000>; + + reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; + + backlight = <&backlight>; + power-supply = <&vcc>; + + port { + panel_input: endpoint { + remote-endpoint = <&panel_output>; + }; + }; + }; + }; -- 2.35.1