From patchwork Sun Mar 26 15:54:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 667230 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97B1DC6FD1C for ; Sun, 26 Mar 2023 15:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232392AbjCZPyc (ORCPT ); Sun, 26 Mar 2023 11:54:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjCZPyc (ORCPT ); Sun, 26 Mar 2023 11:54:32 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7DD84220 for ; Sun, 26 Mar 2023 08:54:30 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id w9so26264096edc.3 for ; Sun, 26 Mar 2023 08:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679846069; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v4IC+z7HRU8Cc1CVtVPGm+haTyIr4zX0D35b4yR5tds=; b=Ph6Y/hVqttSfYXlBGzcTialeVGkVtWDDKWN8favtE6wSfsbYgDYRVvWZGr8nPVZS7l vwX7rnAwVjIYAUKC6QRsNlKuJGlSDQVzFiwFapkg5H3xpgKuVFQLZi7OpCh6lbthpIaS TDZwsmT2ZbhrKY3vSjJkTams4iKKCaokAMaYYHub2/xpDuMiCffg4o3MwCkUKj/U/saz s+v2EP1oxdndnbH5duBVTGyDcoN1QiS4Him4qTYabhI7h9m6GPSoChvwQtwzrt1ex/NJ L3ysUgjwZezKbFNnb4lPgMUD/7Xk1PsGffs+g4mZLY2jNfNEYiAbmEi7neKx7M4mYwiM S5yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679846069; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v4IC+z7HRU8Cc1CVtVPGm+haTyIr4zX0D35b4yR5tds=; b=7xcGvkb5vooKmD8KODdZ0/Mcc7yZ3BLd+UX6xiCgmLWeCutj4r22CCAVOMJWTKGBbM Y1vf4kesjPXLtTaozGyGirv3aYjvikx/Zd1QyANqk86JOtSV3bwwAV7sFdMKauHzCebP RFbmQzlj+hgwbnkMVWlKUPNwCVoXRWvSGw+x3ZbXLAHLc4Ow7hWyJ0R9rcL/sBXBaep4 QOPQIgoDLCVNt5JAJG75+7NmVvYVsZirX9S79mx5KYpwSwNvl3cqhszvBNwobFNjRjNi EXUNiptHUaozNI9g/f+Lg0TNUrs6lMyIOFZPh3nI62/iwr9TENhnrMaAr/nesP3ccVm1 /JVw== X-Gm-Message-State: AAQBX9cvaLGO1/xhOGb3nPIGDAjb2ospSA/+SL217XlxZA+W2ZCSIB4V YxYTVqeT/LcDcXlEniscN/Bi1A== X-Google-Smtp-Source: AKy350b350FJxZeh2eoZVFcQ0aCc50sB3xZPWqjZmfZflxoA8LKai5AuCdZB+dqInD4yF2PChjC40g== X-Received: by 2002:aa7:d806:0:b0:501:d43e:d1e6 with SMTP id v6-20020aa7d806000000b00501d43ed1e6mr9921345edq.4.1679846069161; Sun, 26 Mar 2023 08:54:29 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:eca3:3b8f:823b:2669]) by smtp.gmail.com with ESMTPSA id l6-20020a50d6c6000000b004af62273b66sm13506742edj.18.2023.03.26.08.54.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 08:54:28 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Sumit Semwal , Thierry Reding , Michael Srba , Harigovindan P , Bjorn Andersson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/6] dt-bindings: display: panel-simple: merge Innolux p120zdg-bf1 Date: Sun, 26 Mar 2023 17:54:20 +0200 Message-Id: <20230326155425.91181-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There is nothing special in Innolux p120zdg-bf1 panel, so just like other Innolux panels it can be made part of panel-simple. Signed-off-by: Krzysztof Kozlowski --- .../display/panel/innolux,p120zdg-bf1.yaml | 43 ------------------- .../bindings/display/panel/panel-simple.yaml | 2 + 2 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml b/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml deleted file mode 100644 index 243dac2416f3..000000000000 --- a/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/innolux,p120zdg-bf1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel - -maintainers: - - Sandeep Panda - - Douglas Anderson - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: innolux,p120zdg-bf1 - - enable-gpios: true - power-supply: true - backlight: true - no-hpd: true - -required: - - compatible - - power-supply - -additionalProperties: false - -examples: - - | - #include - - panel_edp: panel-edp { - compatible = "innolux,p120zdg-bf1"; - enable-gpios = <&msmgpio 31 GPIO_ACTIVE_LOW>; - power-supply = <&pm8916_l2>; - backlight = <&backlight>; - no-hpd; - }; - -... diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index 18241f4051d2..01560fe226dd 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -192,6 +192,8 @@ properties: - innolux,n125hce-gn1 # InnoLux 15.6" WXGA TFT LCD panel - innolux,n156bge-l21 + # Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel + - innolux,p120zdg-bf1 # Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel - innolux,zj070na-01p # King & Display KD116N21-30NV-A010 eDP TFT LCD panel From patchwork Sun Mar 26 15:54:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 667229 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7E58C6FD1C for ; Sun, 26 Mar 2023 15:54:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232122AbjCZPyf (ORCPT ); Sun, 26 Mar 2023 11:54:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232432AbjCZPye (ORCPT ); Sun, 26 Mar 2023 11:54:34 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED8A94222 for ; Sun, 26 Mar 2023 08:54:32 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id t10so26098137edd.12 for ; Sun, 26 Mar 2023 08:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679846071; 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=35gnd9Aoe6xXafnL7UjQDr8l7FiduXH+e+bO3yaocVQ=; b=cvQf/CMin7njufwpp/za+I8Rz68YWTJ0WXpvpJSwzMc0Ae/C7X3H6xcgseB6KgZISn XtnHRWABl8Y/QVYTbfS8MjyfpXKZbwl1htuDRc8yL+wa74KTDuwjJyrUAD/R+/heMcJf XuVH0nbjkc686q7IgCRJLc25Wt7FzouTHZ/bBRFl53ZcFI/Kb8ydh1EGxdaOJsG2z4I5 MyiTX0evsN+zBKWEGVwn+uspghSWyf3ajUrkD3KlQTiUlyuCKEvP+riuohmENzDSZ27/ CsnMLkBpuGrLv8sbsyYmAwroTRjJAF6ie3OxEYnMgo7bLG0l/jd+RaHEYdFzCCkac4iN yUfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679846071; 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=35gnd9Aoe6xXafnL7UjQDr8l7FiduXH+e+bO3yaocVQ=; b=QSFVgd3+NOE1E2sXFzyDnYlDvy/ArC1yN1Lr57rnoPw1YbSlGmfuz3BeF/fszKNbrM NfHgEJgL50YyXzWq3hwirTCoOMo/2VSApKIPR3YgsGc9OEwGQO19UgA2y9/0tXm0dic1 nnuGKddPyCFe2S3/Vduh12xhc9O894Lryra4BnsCXSXCnA71xRx9g9fDc/Nfw4kO45UO Ze+9pccefs2Lt48rbIf/z/F+yLDlH6PqA+dYi/i3aVOCWDOUhxFq0bGjfXj/8MTUZgB2 s3v2hD+j9XOqfmLYWlk2KuS3RSu3uaskabwrPwg5+Y6vcqZvdt0Ux9Z69Txxp9/O0xhU GnZA== X-Gm-Message-State: AAQBX9d2rFme54q6yU+Eay7rAXsDlo1txY+/ikJLwvszw7PpqgpCmhNF 1325zhYv0f0AY1NrKWKdlMJqnQ== X-Google-Smtp-Source: AKy350YeMSofZ0QLOlunDhezkNrl7kEmCVRPmLyxkHTFWj/WDls9x8pkSZccXelwW71dBv6N1tZ6PQ== X-Received: by 2002:aa7:cc05:0:b0:4fb:8f07:edbd with SMTP id q5-20020aa7cc05000000b004fb8f07edbdmr10358380edt.10.1679846071248; Sun, 26 Mar 2023 08:54:31 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:eca3:3b8f:823b:2669]) by smtp.gmail.com with ESMTPSA id l6-20020a50d6c6000000b004af62273b66sm13506742edj.18.2023.03.26.08.54.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 08:54:30 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Sumit Semwal , Thierry Reding , Michael Srba , Harigovindan P , Bjorn Andersson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] dt-bindings: display: panel-simple-dsi: allow vddio variant Date: Sun, 26 Mar 2023 17:54:22 +0200 Message-Id: <20230326155425.91181-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230326155425.91181-1-krzysztof.kozlowski@linaro.org> References: <20230326155425.91181-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Few panels like Samsung s6e3fc2x01 and sofef00 use vddio-supply instead of power-supply (in DTS and Linux driver), so allow it to fix: sdm845-oneplus-enchilada.dtb: panel@0: 'power-supply' is a required property Signed-off-by: Krzysztof Kozlowski --- .../display/panel/panel-simple-dsi.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml index 2c00813f5d20..90c04cff8281 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml @@ -19,9 +19,6 @@ description: | If the panel is more advanced a dedicated binding file is required. -allOf: - - $ref: panel-common.yaml# - properties: compatible: @@ -67,12 +64,31 @@ properties: reset-gpios: true port: true power-supply: true + vddio-supply: true + +allOf: + - $ref: panel-common.yaml# + - if: + properties: + compatible: + enum: + - samsung,s6e3fc2x01 + - samsung,sofef00 + then: + properties: + power-supply: false + required: + - vddio-supply + else: + properties: + vddio-supply: false + required: + - power-supply additionalProperties: false required: - compatible - - power-supply - reg examples: From patchwork Sun Mar 26 15:54:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 667228 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0BE9C761AF for ; Sun, 26 Mar 2023 15:54:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232385AbjCZPyi (ORCPT ); Sun, 26 Mar 2023 11:54:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232460AbjCZPyh (ORCPT ); Sun, 26 Mar 2023 11:54:37 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A747449E for ; Sun, 26 Mar 2023 08:54:35 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id ek18so26220832edb.6 for ; Sun, 26 Mar 2023 08:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679846073; 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=vHf8Iv0NI1emcO/z/ewyqHnQEFOXmu7+0ljc1Q4ZcJI=; b=tE+yQdG1T2SqxcmRUDC4jgRpO3h7Oj3NGFQfvFEK8Rta9B5C16LDC0qSp7CL3kczar bl39yE1ZDZ9p3qAwBysPv7OZjSex/W12Yy4uNYL7k3aDmVQJZl/yAE672BmWGLl4Rz/k 7xywNh3tkJCtL/5D0E787Sxg7zaxdLRghGEfN/a+dOkqPg0lXfRv0Hzu2oAHurJCcS6y Hps9EoPrUrAZHrJJ4L1yNpdRn5hTOYk18r/3mrClj6p7PEWAtQUxWUXk05CnBuB4qJmY mCt4dKIQX5nr/RdOBnLYFdW3YLEYxUKBE2DuZcU7+jmn3FLHm0gXTtNT05XCdjzcl3Vx hh9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679846073; 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=vHf8Iv0NI1emcO/z/ewyqHnQEFOXmu7+0ljc1Q4ZcJI=; b=gpf+61n3IbSmQrdBsdG7p3KKKMk7Qdcyb5cH5fVKySahnj3HzZ12LAkqVsmWVCCLnu cbWzGBqODsvFVtuV1jF/v2nVA7Pq+y0aqJMN8iK3M1pKU+YbTn7iqA0Ip9t//Lvvb1ia suHV9kphzDqwpBASZ5ew8xo6pa0+ogdrdDqXMZUXGL2uOTwkAA7lQffREni/3GVUoyJJ CHwGhUCfjant3Vdy7lGaO7xkT2xDhM9Aa/wNkCxg2uYlA4rB9pNwfxW6QF1gO9ECRkrx rWFDNshBIne8ioKSF0RkTxef8WxslT7SgZVNcxhNGzHQb+nx5wyEltq4xtcCLdjzbP/j UmiQ== X-Gm-Message-State: AAQBX9epSnH1haGeu2kDgeoDvp8bUsWz6JBDt9d7VMhLsazA29cjTLGf osiRgZpsHRIcx0fC9K3U4VYNgA== X-Google-Smtp-Source: AKy350Z9yW9do38i5Qti2/g6ZEwstDQ0vYhgJqnw6UnOMq56bflHZ5rivUZlOZlnskR73Qd+s7j7pg== X-Received: by 2002:aa7:cc07:0:b0:4a2:5652:d8ba with SMTP id q7-20020aa7cc07000000b004a25652d8bamr8542357edt.18.1679846073737; Sun, 26 Mar 2023 08:54:33 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:eca3:3b8f:823b:2669]) by smtp.gmail.com with ESMTPSA id l6-20020a50d6c6000000b004af62273b66sm13506742edj.18.2023.03.26.08.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 08:54:33 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Sumit Semwal , Thierry Reding , Michael Srba , Harigovindan P , Bjorn Andersson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/6] dt-bindings: display: visionox,rm69299: document reg Date: Sun, 26 Mar 2023 17:54:24 +0200 Message-Id: <20230326155425.91181-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230326155425.91181-1-krzysztof.kozlowski@linaro.org> References: <20230326155425.91181-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Panels are supposed to have one reg. This fixes dtbs_check warnings like: sc7180-idp.dtb: panel@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../display/panel/visionox,rm69299.yaml | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml b/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml index 481ef051df1e..444ac2a4772d 100644 --- a/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml +++ b/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml @@ -19,6 +19,8 @@ properties: compatible: const: visionox,rm69299-1080p-display + reg: true + vdda-supply: description: | Phandle of the regulator that provides the vdda supply voltage. @@ -34,6 +36,7 @@ additionalProperties: false required: - compatible + - reg - vdda-supply - vdd3p3-supply - reset-gpios @@ -41,16 +44,22 @@ required: examples: - | - panel { - compatible = "visionox,rm69299-1080p-display"; + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "visionox,rm69299-1080p-display"; + reg = <0>; - vdda-supply = <&src_pp1800_l8c>; - vdd3p3-supply = <&src_pp2800_l18a>; + vdda-supply = <&src_pp1800_l8c>; + vdd3p3-supply = <&src_pp2800_l18a>; - reset-gpios = <&pm6150l_gpio 3 0>; - port { - panel0_in: endpoint { - remote-endpoint = <&dsi0_out>; + reset-gpios = <&pm6150l_gpio 3 0>; + port { + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; }; }; };