From patchwork Mon Aug 9 05:10:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 493835 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp2575589jap; Sun, 8 Aug 2021 22:10:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQFnTbAsX0kHvbiZl9EZIhO9I9vZy9eNAJga0ytCod4G2EVoC4JCeVMpyIu4oaWQ1y5AtU X-Received: by 2002:a05:6402:550:: with SMTP id i16mr27651700edx.177.1628485840453; Sun, 08 Aug 2021 22:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628485840; cv=none; d=google.com; s=arc-20160816; b=gK1WiCSvsOljKzbn67zsGz0AseJCwryDMERLrAFcyWVEvvtwSz3v3b+WgT3z/2maxi FEzf2aTZ3I2WtYEK7mnSahXGuFQ6kcaHfoJWPPq8YGU0PUxRJ9H8gAWpe4cnkjQgiCTw oFv47eEojGY8pAJEe6JpWpJ6qbxmUBaZE7pRH0Ar5081FeSW3g5aR99xIo1DjeaQxcwK jBRm1xbdsbk8lY5BjzLrWo/LyQSjeFX0ujSI563GVqTWOzj9pquo2cWjRbQJ8iyaTlnK bESfVHudaadViGpxhC7KMqibp/liQSRYWDw3K/Ndt+sjbh7ePDTMWTOvjo+z4Ouwktef APhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=mzB5rukDdQ28T9D/iN7XrHADrrMb0C395X8edJsat90=; b=RFtPzhOTHiS91wlUXv044ouYAmoDsGg6sm5QuQ815K6ZEZ0hXWazXFV729XU++8WQV OiFTbgJec2MP+XE2n6RZo3CHWbZ553iPNE4ppRFo4j97B9bgSvIElWq/Dgtd+DBvvBOA HTkoCA0C/+DHjOQtI6YkmlFfunIJWKvRRKMZJfLmnBXoBL4gcPjkQtFOH9MAfwo0XCNu ZZ28pQ8a+dOo1gsXHwlQmBKGFrTyuCbsRSEXi3fN3v7jyNpoF/1N3vSzVcZ51L5tl75L RCNO15eqejVtZxryZfoXA3LWzRXb2TqK7uR+stCy+VysbEbimJ4pMhwUJ/Q3spRzeo19 AYEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZgtmhBdc; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si9214256ejc.486.2021.08.08.22.10.40; Sun, 08 Aug 2021 22:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZgtmhBdc; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232890AbhHIFK7 (ORCPT + 7 others); Mon, 9 Aug 2021 01:10:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232842AbhHIFK7 (ORCPT ); Mon, 9 Aug 2021 01:10:59 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55290C061764 for ; Sun, 8 Aug 2021 22:10:38 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id fa24-20020a17090af0d8b0290178bfa69d97so434514pjb.0 for ; Sun, 08 Aug 2021 22:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mzB5rukDdQ28T9D/iN7XrHADrrMb0C395X8edJsat90=; b=ZgtmhBdcYOqOj/+92KMz6b4Fh1E4950jVPK0MDSxi1k4f2PEqutWBMtIDVVaoxNffb avHFUoCKli6f7byYv6O+Hbk5aybJZiMmhdR8ebvgOR02Tw5zdhXs7DzjgFBjMO39VZxS FapPFbPHP23M7VEWjwjuYE4e+dy3X93e/7nD6cjTHqu2szyO5y+kwMaWYiu3D7Lp2nFL 7o/0zF0y3zSQyQMLQ9/WH0BWJKhzWvRtocQ7+jC2W1UmaXZbk6EVHPhNGJgO0VuL3J+j rNonX1MV27XvoBSmTGnuCkOoxgLXCFqetllSQC2mInsd1oT0ZEkBhm7bkphnwvf3fIVA 1QQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mzB5rukDdQ28T9D/iN7XrHADrrMb0C395X8edJsat90=; b=lfkquTGA0YZAGgu/siCqJtsffQw/ovdUYpuCHVVnnX5GRMfqaHrKeOGNCUYJRToHSD g/Zvz6M1jKV39+9VY5JgYMLPT7ij4gHAL2CfOQlyqri5gMcT2EgxWmE3M9D7VllcKzoM csQV/58K+M9wgIpz9kN3CPczfbvO8pZFJh6pAdMeI2fqYnkqdk50eiYFwGydxHWlEGLn ++ML7p8nDInv3LLfx/LBHgi0KpfbccZ7QJrM01P1qDv9+WAyCydRVDx+ZnkFHI5blQnk ZKKkTXcC4gtsI60kuhjlAZD2/y/iV9IgTPeAq+uRkeCur1au3w6vByAogb6KyVu5rMZx x9hA== X-Gm-Message-State: AOAM531DXOkOZ4MbZ13KEM4LR3tX042K9yl+N5vEq6HViyiqG6mVRW1X v18+8Ru9LLrnO4XqNR8AoQJN3A== X-Received: by 2002:a65:63d7:: with SMTP id n23mr291656pgv.46.1628485837946; Sun, 08 Aug 2021 22:10:37 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id e35sm20420219pjk.28.2021.08.08.22.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Aug 2021 22:10:37 -0700 (PDT) From: Shawn Guo To: Thierry Reding , Sam Ravnborg Cc: Stephan Gerhold , Daniel Vetter , Rob Herring , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Shawn Guo Subject: [PATCH v2 1/2] dt-bindings: display: Add Sony Tulip Truly NT35521 panel support Date: Mon, 9 Aug 2021 13:10:07 +0800 Message-Id: <20210809051008.6172-2-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210809051008.6172-1-shawn.guo@linaro.org> References: <20210809051008.6172-1-shawn.guo@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Sony Tulip Truly NT35521 is a 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. The backlight is managed through DSI link. Signed-off-by: Shawn Guo Reviewed-by: Rob Herring --- .../panel/sony,tulip-truly-nt35521.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml b/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml new file mode 100644 index 000000000000..967972939598 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel + +maintainers: + - Shawn Guo + +description: | + The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which + can be found no Sony Xperia M4 phone. The panel backlight is managed + through DSI link. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: sony,tulip-truly-nt35521 + + reg: true + + positive5-supply: + description: Positive 5V supply + + negative5-supply: + description: Negative 5V supply + + reset-gpios: true + + enable-gpios: true + + port: true + +required: + - compatible + - reg + - positive5-supply + - negative5-supply + - reset-gpios + - enable-gpios + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sony,tulip-truly-nt35521"; + reg = <0>; + positive5-supply = <&positive5_reg>; + negative5-supply = <&negative5_reg>; + reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; + enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +...