Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4614543iob; Sun, 8 May 2022 19:16:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp6Xu4OuxYfhus+KSyoa0x+YKOvip+YQnULlGGAhByWRg3uxNPTy/tBwgs09wGwk6yJA0b X-Received: by 2002:a17:903:1107:b0:15e:f451:4034 with SMTP id n7-20020a170903110700b0015ef4514034mr11026208plh.3.1652062617900; Sun, 08 May 2022 19:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652062617; cv=none; d=google.com; s=arc-20160816; b=PwJBYa+X68ugkDEgqjjxJDa3ralpDxGhfOH/ESeT7bQ37vq2gT81pXeU2ECCfTPIJ5 NJjcCCnd2OvJs/vf0/RRxlqD3IKh+9Y9649tSCmnbZNKfdcENG1tw+AQBucTtQYI3h4B roXB4sX+Gdz7U+N5EtnULxH2O3Wonbyn6E4tNtsbkMtSRBoXtDmp4O14bBodTCE3Zko6 kDn5u/DtzZ8FkppWo1P/t04U5WwQOoFoq9LJNvfSIAT9F9zEorNM24WNfi5tTreYdC7t mxoVBQwXP0dVYbsCgZrbco4WcwVcRLG/ExIa4j7wHW//h7Kta2mvLic8xbQXm2H4KdC7 1TmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=D0hIIaQCI/Dh7yD1DKDpvDpYdxU4Kww1YfWBC7PJ66o=; b=cvQF2dF5CafZPEtVr80V6ogWu0jXPeq4lUc1razZOpD43duaZfP4AgbljOAVrATSDQ jXzRt/xxKGzrdMZV28EPpc6lBJLTfLjr6D8cbp+XJTZXNOezm0iryclqma6AuYPOJ7Vb RFfAvLhwB9JpOhKdxvRcimI3aZT9nXUaatTrWurL+E82gQeVvVXyqaAApGYwsTbLNRZb BIIvglGSY2JgFPi3x+OhoLlN9Pm4rfrgLnSwXIbUZdEyj8VD1aZVT1GEOxB2aDWhf1ye OLbcZVH+iMSNDCq7uP10XU0NQEvHKvj2x4mT5q62V7AJOnDEtEfUaUpZyvw2t/QUuXQv fJgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5TZ8gwH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z5-20020a170903018500b0015d17ba5b87si12136965plg.20.2022.05.08.19.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:16:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5TZ8gwH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE58857B38; Sun, 8 May 2022 19:16:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383941AbiEETJ4 (ORCPT + 99 others); Thu, 5 May 2022 15:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244319AbiEETJx (ORCPT ); Thu, 5 May 2022 15:09:53 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BFF54A918 for ; Thu, 5 May 2022 12:06:12 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id l203so5330770oif.0 for ; Thu, 05 May 2022 12:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=D0hIIaQCI/Dh7yD1DKDpvDpYdxU4Kww1YfWBC7PJ66o=; b=Y5TZ8gwH28OUdcotbTOTVpcbR4pDhTI/YaqLz24TF+cgaEBsGrcHfKJ6FBpz5fI8YD 0ZQoF6vw49X7WRHB1KNIwNnaHPbGRAeoDQ27rWR0fcMzDbA4qQ8IRsYiuu1tu/cgCh6i 7ztBLJfvDKa2BhXMW2eS+XrHhX8up86RwTwaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=D0hIIaQCI/Dh7yD1DKDpvDpYdxU4Kww1YfWBC7PJ66o=; b=BN+3xGYR5/mtWZsbhUjknpWu11eGBGZCV7x+5VZCZA8aVj6fqdGnCOuBu7lgGVp0j6 Kua6BBbthpRxaw9IIFxvm3o//HlCnLNlbPVA999rDIugenrjTn8HYdJ5+Jza30tzGSB2 6x53ajq6M7i7pNu3/cFB0KopG04eTGM+7skS5oqn/P7Ha/kUtY7LNeuuuBuPflrWK9gE XBbQAmpPHGjhhyujiQWHTNL6WMc4K7tRPBwpjbMlAVduNLv0qwV0yRrDacFyYpFk6uFY WnF5qYpOWmBQJxBVHXO2wWC7Qy8d0tSgr9Xqj+EdxdMaCznyT5xvaaY/JNH56HprVA+N 7G9Q== X-Gm-Message-State: AOAM533EOAOUsI1JCaWIU7YnGtM6iJo1IUT6F4/xPP2d7TRdJmmDka4q 7Hi2BRv1YP4dGjQno9uZOpk17UmFd5OzVVCYie7WFA== X-Received: by 2002:aca:bd41:0:b0:2ec:ff42:814f with SMTP id n62-20020acabd41000000b002ecff42814fmr3286599oif.63.1651777571605; Thu, 05 May 2022 12:06:11 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 5 May 2022 15:06:10 -0400 MIME-Version: 1.0 In-Reply-To: References: <20220425210643.2420919-1-dianders@chromium.org> <20220425140619.1.Ibfde5a26a7182c4b478d570c23d2649823ac2cce@changeid> From: Stephen Boyd User-Agent: alot/0.10 Date: Thu, 5 May 2022 15:06:10 -0400 Message-ID: Subject: RE: [PATCH 1/2] dt-bindings: msm/dp: List supplies in the bindings To: Doug Anderson , Sankeerth Billakanti Cc: "bjorn.andersson@linaro.org" , "dmitry.baryshkov@linaro.org" , Rob Clark , Rob Herring , Vinod Koul , Abhinav Kumar , "linux-phy@lists.infradead.org" , dri-devel , freedreno , Kishon Vijay Abraham I , Krzysztof Kozlowski , linux-arm-msm , Kalyan Thota , Kuogee Hsieh , Daniel Vetter , David Airlie , Rob Clark , Sean Paul , "devicetree@vger.kernel.org" , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 Quoting Sankeerth Billakanti (QUIC) (2022-05-05 11:47:20) > >Quoting Sankeerth Billakanti (2022-05-05 11:02:36) > >> > >> Our internal power grid documents list the regulators as VDD_A_*_1P2 > >> and VDD_A_*_0P9 for all the platforms. > > > >Do your internal power grid documents indicate what these supplies are > >powering? The question is if these supplies power any of the logic inside the > >eDP controller or if they only supply power to the analog circuits in the eDP > >phy. If it's the eDP phy only then the regulator usage in the eDP driver should > >be removed. I would suspect this is the case because the controller is > >probably all digital logic and runs at the typical 1.8V that the rest of the SoC > >uses. Similarly, these are voltage references which sound like a PLL reference > >voltage. > > > >Please clarify this further. > > > > For the DP driver using the usb-dp combo phy, there were cases where the usb driver > was turning off the phy and pll regulators whenever usb-dp concurrent mode need not be supported. > This caused phy and pll to be powered down causing aux transaction failures and display blankouts. > From then on, it became a practice for the controller driver to vote for the phy and pll regulators also. > That sounds like USB-DP combo phy driver had improper regulator power management where aux transactions from DP didn't keep the power on to the phy. Where does the power physically go? If the power isn't physically going to the DP controller it shouldn't be controlled from the DP controller driver. If the aux bus needs the DP phy enabled, the DP controller driver should enable the phy power (via phy_power_on()?).