From patchwork Tue May 2 12:00:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 678496 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 4F6E2C77B7E for ; Tue, 2 May 2023 12:00:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233797AbjEBMAu (ORCPT ); Tue, 2 May 2023 08:00:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233638AbjEBMAt (ORCPT ); Tue, 2 May 2023 08:00:49 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A65C41727 for ; Tue, 2 May 2023 05:00:47 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-50bc5197d33so4197854a12.1 for ; Tue, 02 May 2023 05:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683028846; x=1685620846; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=f3Lfco4BnCXSWDeSvGyocalO93LWCUXAn4Hyq4qa2GU=; b=k0Qq8qmjrUvfH6d/fC9U0sPZuAEoXcPQ4JTMgHYGwISYhsa+oGHET4gBj5mRXV5BY6 J9oPKo6p6LNHUzk6fNIf1/8kxsUPtVW9Q/ap8x6H4UR0256dSsZKyyxiMM6bu9JmZAgD C3ul8k+qwtitqBiLFWI8XgCyZuh7Ma+NNHjVrxGHXaDpxWvzHFcwmACfQns75pQTOJmh /amtYuMgcdsWfxX0xl9doBLJhh7lzyKykOA3ZcSwH2mEBLq2MgB1AgriHZ0275vZbhcJ b++yGidZypMKNhCy9xAA4L4h4ef9MN65JVflD0AjbCpmbmYev0QUORf1kf3lOqVWZbPs YZyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683028846; x=1685620846; 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=f3Lfco4BnCXSWDeSvGyocalO93LWCUXAn4Hyq4qa2GU=; b=C5V0JcnoUM+TUvm0NmXpY0hTKLO9YNyw9BrD2GYPwva4euO2h0YSBpmyTcs8Wf3T58 fMQXyOIb+AVEpIGsoFT01rkBa93SFH2h/Isa+VnWtfSNUATOKUzkhwt4z9Km817CfaYM 5nJMEAVZz+25DiiPa8yZn0RTlwOV4t0gyvyGN32d9bupK/vrrfc5BGP8XlI7Grfy8VcJ dnGdsuAQSNmFASq5/FScA0/W7HSKFu5AydMZCF+J19TA/a3DhkFFTRxvMDzCIrPwyW+2 zirdLoP0sEl1CpkbQa5P6T3q4qePIOsIUwvK+QesMsYaaox1CgB2/0tMxcps1cKfvYiU 8QSg== X-Gm-Message-State: AC+VfDyLe+oyL/kw2fsb7QajFYyLudJI4rmrSHoK4C/tSxIOvETOa1Yx 1uXS0LKPitgn6/y3ty8gE5JZMDhwtQa5hSXbF2o= X-Google-Smtp-Source: ACHHUZ4A7IqeyLXRL8smscOzdIf9v+IQzynF+xG31Ayj1umN6zEC38/CTVoxXfWwQg6EJ/5ynn1J+A== X-Received: by 2002:a17:907:6d19:b0:94f:720b:1b14 with SMTP id sa25-20020a1709076d1900b0094f720b1b14mr16467542ejc.29.1683028846077; Tue, 02 May 2023 05:00:46 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:bafd:1283:b136:5f6a]) by smtp.gmail.com with ESMTPSA id v10-20020a1709063bca00b0094ee3e4c934sm16063403ejf.221.2023.05.02.05.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 05:00:40 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Jianhua Lu , Del Regno , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 1/2] dt-bindings: display: novatek,nt35950: define ports Date: Tue, 2 May 2023 14:00:35 +0200 Message-Id: <20230502120036.47165-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 The panel-common schema does not define what "ports" property is, so bring the definition to enforce the type. Panels can be single- or dual-link, thus require only one port@0. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Rework to add ports to device schema, not to panel-common. https://lore.kernel.org/all/20230420160905.GA2952736-robh@kernel.org/ --- .../bindings/display/panel/novatek,nt35950.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml index 377a05d48a02..c93cc1018b41 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml @@ -47,8 +47,13 @@ properties: vddio-supply: description: regulator that supplies the I/O voltage + ports: + $ref: /schemas/graph.yaml#/properties/ports + + required: + - port@0 + backlight: true - ports: true reg: true required: @@ -59,6 +64,7 @@ required: - avee-supply - dvdd-supply - vddio-supply + - ports additionalProperties: false From patchwork Tue May 2 12:00:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 678975 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 02C55C7EE21 for ; Tue, 2 May 2023 12:01:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233865AbjEBMBB (ORCPT ); Tue, 2 May 2023 08:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233876AbjEBMBB (ORCPT ); Tue, 2 May 2023 08:01:01 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01FBF4EFA for ; Tue, 2 May 2023 05:00:59 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-94f910ea993so611902766b.3 for ; Tue, 02 May 2023 05:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683028857; x=1685620857; 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=+WYS2uNNoOkm3orqvZxxy/U4Nr8xICG5Dwp3aoTlmM4=; b=KrNvgqnlCJ62jTv5QKIFn8l1MPz6NrKoUB/fs6ZiByAZQRfT32HlFohiu4KLlAKKv9 kLbaauMkSbT16Z6VAl1JcxnOE1qoMmLssiN+TlUwhoPWdLeVCdEVtWHaeUTklz1sr8Hy FJjnyNlSUMs921zOgeC1Xf8RA6pCLNiYTAvj85ZV4Icmq2tHIgkDIj17EsDgmnt6484+ o5xo9O+atBqVzX14QE/WT32YhMBTEt+oFygM7LFwoy28EU+DU9dqXQm9clbOD7S3boUi CsGfQ/xWDWdD3c/zo9kKqCsbOMV29Fh0qbFzDFKUv8VWsx6FN3IHSSLwabUYPSxQXyAV qnpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683028857; x=1685620857; 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=+WYS2uNNoOkm3orqvZxxy/U4Nr8xICG5Dwp3aoTlmM4=; b=jb1x6B2DuEccW2cDD+Rx3m+fS2I6WgJDnztlHfGwbJf8YfDccSyADDSmT+896jnDzM HeXG36BcLUrU+RKYaYkT2wgHB8yTABYINKhSa1HLiIhFqK4OYvQm6jAWDqnrVezADZEk 8HwVN2ezDYY4CyyyqxwQUOfZgL8ZmdJl2zl/D0kmzacIJuEDsGf8htI/Os9VIexQIpFL 19LgC4TYpH/lHpr1TDfRn+a3cu3Mt44i4tIdGbnHbSQj6We2cl2KIZQYRbxwnKEsISIk wHwR75hsD29w4RVU3lO3Nf6haPQJSbUCYoKMVNxGpPKUDfec8nbw28QF8PufJ9a663tL PkEQ== X-Gm-Message-State: AC+VfDzYYMyad/XlJdDfWSFBv7wszo+tv7bYhVd33Y+ZM1eLR2OQkByR kscvdJPAhWyNDHIeYbfaZ8ZbYg== X-Google-Smtp-Source: ACHHUZ7UP4zneqUqBTSrVE1dz3gYWQRhrswBtXkRlQD/zyv1FGBW6b28N3mfaqsf3b5HIL1999Ir6g== X-Received: by 2002:a17:907:6e89:b0:94a:62e7:70e1 with SMTP id sh9-20020a1709076e8900b0094a62e770e1mr15086566ejc.68.1683028857540; Tue, 02 May 2023 05:00:57 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:bafd:1283:b136:5f6a]) by smtp.gmail.com with ESMTPSA id v10-20020a1709063bca00b0094ee3e4c934sm16063403ejf.221.2023.05.02.05.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 05:00:50 -0700 (PDT) From: Krzysztof Kozlowski To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Jianhua Lu , Del Regno , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/2] dt-bindings: display: novatek,nt36523: define ports Date: Tue, 2 May 2023 14:00:36 +0200 Message-Id: <20230502120036.47165-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502120036.47165-1-krzysztof.kozlowski@linaro.org> References: <20230502120036.47165-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The panel-common schema does not define what "ports" property is, so bring the definition to enforce the type. All panels described by binding are dual-link, thus require both ports. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Rework to add ports to device schema, not to panel-common. https://lore.kernel.org/all/20230420160905.GA2952736-robh@kernel.org/ --- .../bindings/display/panel/novatek,nt36523.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml index 0039561ef04c..a2a8c4e39573 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml @@ -32,8 +32,14 @@ properties: vddio-supply: description: regulator that supplies the I/O voltage + ports: + $ref: /schemas/graph.yaml#/properties/ports + + required: + - port@0 + - port@1 + reg: true - ports: true backlight: true required: