From patchwork Thu Nov 24 00:47:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 25267 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3116712wrr; Wed, 23 Nov 2022 16:49:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf6vj63MEreb+JUuvmA92HvpMJHh097HzUDCYQu4stEbv1N/kgOnAoASujUJbqm6+Fo6dx4i X-Received: by 2002:a17:90a:9c07:b0:218:9f75:deae with SMTP id h7-20020a17090a9c0700b002189f75deaemr21943973pjp.58.1669250995395; Wed, 23 Nov 2022 16:49:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669250995; cv=none; d=google.com; s=arc-20160816; b=EhXPsAcQaUV4FgqvihOSl9cOm6nJclYFnY6a4Gc+fpP/BJj2tH57kJWHOsORPLqUUr UbGjRj7r+wme0euQ/8M2r9vJrUoJ8wqTYLqZfXAI8B+kK/6ir53QYKzcSRwrwCUNAPYV A95zMPG9ILGNEcxn0dDIozoJecrN9Z/l5lZwOZvN5nKNJxvMRy98NCYVgX8TVU9U+cVx 69bLoR5GhoHi0bX6akxMYqXXLkWYEeFsCJbC2m02r0MQ+YwqZBK85Wn4QExdKZlD2FU9 S4VreXEhvm0EI3ICIptJJYDXZFqIDmvSt9TASzoy6sTmjeBlcuvVQQnRFMhj/bluXQ2h O/Cg== 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=gNXziAWeRjbSnLjIyAqIFKmN58WZ2py3nHOgpD+6wt8=; b=OhKcoUQI0FoXyC/BM9TdabEEJNktCkdMe1iSZbfI8FANenFPQ81lCfxPsqlLwW49WW hpq0WuHTYAXD1Fb2SY75gFK1x7LPc74wYBqrtPT+/06vzLF6/xKan3rldOe6ahbcp1XV 8B/clt0TeSTYZfy/cay9sp9HFEL3hYi206mKhS4MavWmLaAw2Vuw4VJ3/Ydu+k7dVxPo ijbawq2rYbc/R1RStaLv6z3DAjxCpThRiDQOo3dh39XQxsUpaMN+vQHkKmae+MZNb6Xl bvh6M9WV4ETfMX6R/+LSnr9CLRNQUB7dyCpfhPSik3rN3ozfqN6aJhOVOdhdepV0qtLY FX1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hy1so5B7; 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=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a170903024e00b0017ae43612d9si117746plh.324.2022.11.23.16.49.42; Wed, 23 Nov 2022 16:49:55 -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=@linaro.org header.s=google header.b=Hy1so5B7; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiKXAtA (ORCPT + 99 others); Wed, 23 Nov 2022 19:49:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbiKXAs3 (ORCPT ); Wed, 23 Nov 2022 19:48:29 -0500 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 37F80ED705 for ; Wed, 23 Nov 2022 16:48:16 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id o7-20020a05600c510700b003cffc0b3374so202666wms.0 for ; Wed, 23 Nov 2022 16:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=gNXziAWeRjbSnLjIyAqIFKmN58WZ2py3nHOgpD+6wt8=; b=Hy1so5B7geaFM1IXMTGxX5JXmXgo0d3B5upAtbSpgsjAk/2UjOT2gHJfrdSN+wxXUO WI0Z62orpd561R41SBM7w5ewoEbZ5UZM38jFDQm6BpTYKAWj48vcII08LYCKJRg+QE0y OpfO9p7ux6kX1Giwy2ZyLBzLY7W//KO7J3AX76NHEF+6JT1Dk6aS2ttLIy6W3vDb+vI9 uesiEcfN/aYlrqS9Lns7wHuS/cKaL645Ggi8qrMw2nmxRcDcgHvx2H9UEZo3L7kVkDuf UM486geAyMtnb/qL69zg1D7v7FaUojuUisRNMC6WUbGO+V2n/V4Szf+7xCvpXiPEBwds 44Fg== 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=gNXziAWeRjbSnLjIyAqIFKmN58WZ2py3nHOgpD+6wt8=; b=LOV5Hv1nziqYctMzarc5uT59GAymfhmiExFObEjrtm+ll6RApz2cZpACxionJd9iVQ Fms5BQy+T7thZ1TRbJAAclekH1ilQNq9ZnLvChRI3Okh0d3OpOVRF4464BmRF7dbasXp QelS0XSvJo7e1fK1gJ8n2jXecU/K894+DGZ0q7i/WPlxQbvPFvldFiQzLYBkoNTew7PO oTi9jmV+ThXqvMcuEad1/lMzUSRszZm5lWTulgtrNJbn0/cebgtb9BS3unUCv0bcC96P i8jOFxuiaHjFDMPfXJTkFJN9RLOpFThqm1vuTUqc3VjwY4FvTSawyCku98yrPrN8OsiQ P2AA== X-Gm-Message-State: ANoB5plQGLqHtOXHLbhOtlS6+L4h2Ixf3WBow+yCb8p4Tig3eoy1mUc2 DylQiruO8GVOuM5OMdWjqRcbKw== X-Received: by 2002:a05:600c:1d9c:b0:3c6:bf1e:ebb9 with SMTP id p28-20020a05600c1d9c00b003c6bf1eebb9mr24942343wms.173.1669250894492; Wed, 23 Nov 2022 16:48:14 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id n38-20020a05600c3ba600b003c6bbe910fdsm5245076wms.9.2022.11.23.16.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 16:48:14 -0800 (PST) From: Bryan O'Donoghue To: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, dianders@chromium.org, david@ixit.cz, krzysztof.kozlowski+dt@linaro.org, swboyd@chromium.org, konrad.dybcio@somainline.org, agross@kernel.org, andersson@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v3 08/18] dt-bindings: msm: dsi-controller-main: Add vdd* descriptions back in Date: Thu, 24 Nov 2022 00:47:51 +0000 Message-Id: <20221124004801.361232-9-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221124004801.361232-1-bryan.odonoghue@linaro.org> References: <20221124004801.361232-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750336531743244689?= X-GMAIL-MSGID: =?utf-8?q?1750336531743244689?= When converting from .txt to .yaml we didn't include descriptions for the existing regulator supplies. - vdd - vdda - vddio Add those descriptions into the yaml now as they were prior to the conversion. In the .txt description we marked these regulators as required, however, that requirement appears to have been in error. Taking the example of sc7180-trogdor-wormdingler.dtsi. The avdd and avee come from GPIO controlled external regulators, not the SoC and in this case there's no need for vddio to power an I/O bus. Similarly the regulators for the LCD are controlled by the panel driver not by the dsi-ctrl driver. It would be possible to connect a different type of panel to the DSI bus here in which case we may or may not want to make use of vdd, vdda or vddio. This is also the case for older chipsets like apq8064, msm8916 etc the vdd* regulators in the dsi-ctrl block are helpers not dependencies. Add the description of vdd, vdda and vddio back in for the existing upstream dts where vdd, vdda or vddio are already declared but, don't declare those regulators required - they are not SoC requirements. Fixes: 4dbe55c97741 ("dt-bindings: msm: dsi: add yaml schemas for DSI bindings") Signed-off-by: Bryan O'Donoghue --- .../bindings/display/msm/dsi-controller-main.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 0fbb0c04f4b06..bcbcbdca1a78a 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -133,6 +133,18 @@ properties: - port@0 - port@1 + vdd-supply: + description: + vdd regulator device node + + vddio-supply: + description: + vdd-io regulator device node + + vdda-supply: + description: + vdda regulator device node + required: - compatible - reg