Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1622999rwb; Fri, 12 Aug 2022 04:19:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4xiBOpPPIYWH5wxuVLf5eJBKCnbp5O1eiIPDKO7rIWRAnmM7pyc80NLj1zNftKZTHlOsfS X-Received: by 2002:a05:6402:11cb:b0:43c:c7a3:ff86 with SMTP id j11-20020a05640211cb00b0043cc7a3ff86mr3215607edw.383.1660303164133; Fri, 12 Aug 2022 04:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660303164; cv=none; d=google.com; s=arc-20160816; b=iO7I/a6JqESRf9Ov01eCwesm87AcwitLepjqt5aAl7tgAIgZJwZI3tC9c1jV/1bp/r Ow+k0jPN9BgH5BYdnJYiiq3NMtwH52pd8nPGZb/CiDLkA8D+GHBmgHvpNBBDbOzIxRJ0 TKRbkRidz3LzTX6kzGCkTEYojkuDSVIxZViwFtUrrrS3vYmvNJ5sTntqYPNBmfScgGe9 u4oUqEdEphk4HSwSCJsR9bUvTY8ZDlliyd2w07mS/12ac6C/ogvnfgw0AuAt1sHhCbFN 2USC8bpoeIvVvM92MDO5rHi5nd3IuVGClZ2eKhq5q4GXK6r7DnKeS+c7mXp5YP+/+N+j 92cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UJnFvf2CipkkOM+lYgM36L0ZtmP7Hx57QaN536b3YCw=; b=UYT8dATCUZzBmDO4nVi/RDyARXP83aGpPy378T+KaCjyjYz4dQCvOk/LjwzvexPTRG T+UrsaQWauXZYcBtKAtBYw+tXeyy6c4s0SX0vsL0gYxk9F6AKmf27QeDa2n25jaOIg4G BXBjnYT7q8m2WTMjAKSzWEWjSgrSSHAqJf108wCK7lPPwdGmxuK7/60uEzDiuUe5rMie NQRrmHWHVYwCEyNPlLVC1JjfmvXVMUbJwJhCLLhllkSKUmGD7Z2iY93KvD8LYUniePu4 uEMCsLgz3/DR5vpvymXD0N/60x3L6SDe6gZgMDPy9Zz311N8fcXX3GvkMkPa5t/7iR9D VBZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GOKMFNg1; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb9-20020a0564020d0900b0043e18c8248asi2193088edb.600.2022.08.12.04.18.58; Fri, 12 Aug 2022 04:19:24 -0700 (PDT) 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=GOKMFNg1; 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 S238152AbiHLKtb (ORCPT + 99 others); Fri, 12 Aug 2022 06:49:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233391AbiHLKt2 (ORCPT ); Fri, 12 Aug 2022 06:49:28 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC12FA59B3 for ; Fri, 12 Aug 2022 03:49:26 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id z6so815097lfu.9 for ; Fri, 12 Aug 2022 03:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=UJnFvf2CipkkOM+lYgM36L0ZtmP7Hx57QaN536b3YCw=; b=GOKMFNg1REVIwFrExYqDnxeUxvmN6E6p1tHUohNkXRce3yIDW9omFNKeKDn50YdSj7 jR+iLaL7K7o1v1j+HwmvXdLnGwH/Z4n7sra00irgT2f7Wk4Bv28PT1fqBGO0XV2WQSRH FtIqjm63bbe8hZEAVGKm+hELlLOmxMqxInFpYj27Ap1mRoWRDVEvzIbAM9fCd8njNmYw ZLy1OQXmqj9WtiJM2UEdbgb+9QJJGrhPewkdoh7QsIclb1Ip0jSPzjdZ7z3fSmGF4Aq1 syIo5izG7Mk7/uh40LPecqsMusRl25/M2WVcFcl+iVulYvxUi9jx4q5FEjRLv/M8fs0G Z5Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=UJnFvf2CipkkOM+lYgM36L0ZtmP7Hx57QaN536b3YCw=; b=M1JlbioH3VINeGkLNIGFv0cwDMtpzAM1W8VJMoeI9xxcEHHfUXLCHZMlfyofq77qTw fUNJqgdPGp9Oh4Oj5gpO0HkaiKiIt8CD2emzqlrhd6cfM/ftruRi/+y2BHElByzB8Ksg 3Y0lDuty0JseVK/4S9QKFeNRp7YD1fIE/cq/c7uztesS2WG7jiwVRvKxqEpigaGbTEdT VCJg+hsvX7GhgbJ9Z9h0ts/o+w/jgKd7DcfGQ2Qry/QK3YmZpcjOWXpTZxqHDPisO/0O Aw15x+pjdv3Mx2d5Je2p5YDQHCmH6PoLmJEabbeshtvIK72dlvDMzS+05dCkUf2RNHkd twKw== X-Gm-Message-State: ACgBeo312rLA2aBToNoJP4BlnzijXMpa2uu5lQZu8rN5MpceOJhZDegK yYK/iat9qPY8lA+ReKQptrTQFg== X-Received: by 2002:ac2:5cc6:0:b0:48a:f879:f6ef with SMTP id f6-20020ac25cc6000000b0048af879f6efmr1018055lfq.347.1660301364948; Fri, 12 Aug 2022 03:49:24 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id p8-20020ac24ec8000000b0048b29b13d22sm166371lfr.299.2022.08.12.03.49.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Aug 2022 03:49:24 -0700 (PDT) Message-ID: <13fcaa01-d2c0-e57f-bedc-b2e0536a55f9@linaro.org> Date: Fri, 12 Aug 2022 13:49:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 2/4] dt-bindings: display: sun6i-dsi: Add the A100 variant Content-Language: en-US To: Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard Cc: Daniel Vetter , David Airlie , Jagan Teki , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev References: <20220812074257.58254-1-samuel@sholland.org> <20220812074257.58254-3-samuel@sholland.org> From: Krzysztof Kozlowski In-Reply-To: <20220812074257.58254-3-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 12/08/2022 10:42, Samuel Holland wrote: > The "40nm" MIPI DSI controller found in the A100 and D1 SoCs has the > same register layout as previous SoC integrations. However, its module > clock now comes from the TCON, which means it no longer runs at a fixed > rate, so this needs to be distinguished in the driver. > > The controller also now uses pins on Port D instead of dedicated pins, > so it drops the separate power domain. > > Signed-off-by: Samuel Holland > --- > Removal of the vcc-dsi-supply is maybe a bit questionable. Since there > is no "VCC-DSI" pin anymore, it's not obvious which pin actually does > power the DSI controller/PHY. Possibly power comes from VCC-PD or VCC-IO > or VCC-LVDS. So far, all boards have all of these as always-on supplies, > so it is hard to test. > > .../display/allwinner,sun6i-a31-mipi-dsi.yaml | 28 +++++++++++++++---- > 1 file changed, 23 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml > index ae55ef3fb1fe..c53c25b87bd4 100644 > --- a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml > +++ b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml > @@ -12,9 +12,14 @@ maintainers: > > properties: > compatible: > - enum: > - - allwinner,sun6i-a31-mipi-dsi > - - allwinner,sun50i-a64-mipi-dsi > + oneOf: > + - enum: > + - allwinner,sun6i-a31-mipi-dsi > + - allwinner,sun50i-a64-mipi-dsi > + - allwinner,sun50i-a100-mipi-dsi While you are moving code, how about bringing alphabetical order? > + - items: > + - const: allwinner,sun20i-d1-mipi-dsi > + - const: allwinner,sun50i-a100-mipi-dsi > > reg: > maxItems: 1 > @@ -59,7 +64,6 @@ required: > - phys > - phy-names > - resets > - - vcc-dsi-supply > - port > > allOf: > @@ -68,7 +72,9 @@ allOf: > properties: > compatible: > contains: > - const: allwinner,sun6i-a31-mipi-dsi > + enum: > + - allwinner,sun6i-a31-mipi-dsi > + - allwinner,sun50i-a100-mipi-dsi Here as well > > then: > properties: > @@ -83,6 +89,18 @@ allOf: > clocks: > maxItems: 1 > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - allwinner,sun6i-a31-mipi-dsi > + - allwinner,sun50i-a64-mipi-dsi and here Best regards, Krzysztof