Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp657248imi; Thu, 21 Jul 2022 08:26:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tUEscMtRfPZB0fG7GwZ7ITPjuN/mtY22foOVXN3VXR726qHNMc9dUUaR8RygxYBUe8Sfxy X-Received: by 2002:a05:6820:814:b0:435:a1e0:5803 with SMTP id bg20-20020a056820081400b00435a1e05803mr6956990oob.84.1658417172877; Thu, 21 Jul 2022 08:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658417172; cv=none; d=google.com; s=arc-20160816; b=huAEWY2g1W6+f5q3oPi8Ip8Ajictsd8UIr4FHJoVsTFcDJ55zv2nPCKQ2EIdADem9w fcJcO9xeDipP0SU0vwAdkjDEeppYtNc22QGYT+6hjwc11zvGr2TWIVhYvLG8yRNvEz5z BiXx7cxL5DLpx2dVowSj9+pY6RWPESi+EaFCW3PLy290nn9FT4jY9/LiNYx7FXygrRD5 Wd0XkR0f3e0jiIQ/ErulELY49p1gyNTrUHyM3PexIy3k8Q7IFV/pAgHzpM7gGjs1vZjY erTmL7CTKOuiIpZmG8VNuisJMxS6/5W6q/xV4/UwY4F43eehPdB/+5CczJEo5Dp0wlyy hpdA== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=ltOZJ2KphG0d0DW5kFxQw6cxwCf3XHhnrjNPEB6uAhM=; b=xv5tWm/+2nYz28At0cVYeDFGumINP7W1bDneT4y1O6rtCMBZzttrUo4udn1AMkBKA7 xpJIVnNUHrTptqKTbKJA/RHD2gxoQPdZXxQ6KTtkALtoJOoJCZb0UcG6WR9gRaJePdOA NM6QJXIyf/K/hLm6w262yTu5gMlx95cNA+dlxbIanQMh8OeN2PpqXht/aDLEEyYwjQ14 B4Pb40brkJWRX1jobWB+QZS1pogBHLdC0zJdDjnr9lyhIDvv2EnMlvgrX1oeyvUdgvbH 79Nhh2rlFrjrrr4zfjbWOvc5/v5O+Bj052rjcg0sz2vjlv3IDAEgoGnnLZKGQQs/MfgP S7LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GqcHAHQ4; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056830440c00b00616b7006ebdsi2308974otv.131.2022.07.21.08.25.59; Thu, 21 Jul 2022 08:26:12 -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=@chromium.org header.s=google header.b=GqcHAHQ4; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbiGUO6c (ORCPT + 99 others); Thu, 21 Jul 2022 10:58:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbiGUO6b (ORCPT ); Thu, 21 Jul 2022 10:58:31 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85D383ED7A for ; Thu, 21 Jul 2022 07:58:30 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id os14so3646277ejb.4 for ; Thu, 21 Jul 2022 07:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ltOZJ2KphG0d0DW5kFxQw6cxwCf3XHhnrjNPEB6uAhM=; b=GqcHAHQ4dhPcrDRrtzT1QFXBo9SckIDkd5pucGoABBMli/cpoSkioJ6cvz4F17aKpk J1b8mXuerCqilCV36ldocszUddyXRxKShRGF06LQ8abRM+DPmjUznZz+quSoY9VeZO6V fALHQi/5OCjS8u//p5bgNNYY4BxK08ZdxexH8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ltOZJ2KphG0d0DW5kFxQw6cxwCf3XHhnrjNPEB6uAhM=; b=NPKCGI8tgbc42WRgP/+v6dSMZ4UAUEAxfJcXRfsdclzLvhMWfT9fZHKbqAl3Jfs+w4 z94rafEinS3HOa77i7chBBfFYl1EyoDRjDY55UfSVEccaXS21RThcoXfbeRMgUTG1rNV GzE/tKzrP8ia2RpjqPRv9bdtus8pI8SHEXE/Zjits+X3kDH/snDPcgUwteQe/aImE6pi +d3EM4FChUciwosz/P6PneCfv7XsD5s4KeMfY14X6r2d+ZoL+3kdpGtR38GyO7PvndU3 3Cs7o+GJ8H9y0slzLyi5ZEGT4TD0Z78+YKRhZ9D36tFkSQES+FewTZhnFx6ESFbpGad2 wLyA== X-Gm-Message-State: AJIora9s7xhSfbZC68kUScudjIDIVf+vii3awauR8KiKwqy6Sl6pykYL NCH0bSULEAQH+/JrGpSxICixJJ0cJUXyvFuBQ5k= X-Received: by 2002:a17:907:7628:b0:72b:4d6f:ce8a with SMTP id jy8-20020a170907762800b0072b4d6fce8amr40835298ejc.59.1658415508879; Thu, 21 Jul 2022 07:58:28 -0700 (PDT) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com. [209.85.218.52]) by smtp.gmail.com with ESMTPSA id q14-20020a17090676ce00b007121361d54asm955129ejn.25.2022.07.21.07.58.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jul 2022 07:58:28 -0700 (PDT) Received: by mail-ej1-f52.google.com with SMTP id z23so3620666eju.8 for ; Thu, 21 Jul 2022 07:58:28 -0700 (PDT) X-Received: by 2002:adf:fb12:0:b0:20c:79b2:a200 with SMTP id c18-20020adffb12000000b0020c79b2a200mr35414211wrr.617.1658415135216; Thu, 21 Jul 2022 07:52:15 -0700 (PDT) MIME-Version: 1.0 References: <1657038556-2231-1-git-send-email-quic_khsieh@quicinc.com> In-Reply-To: From: Doug Anderson Date: Thu, 21 Jul 2022 07:52:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v16 0/3] eDP/DP Phy vdda realted function To: Mark Brown Cc: Johan Hovold , Kuogee Hsieh , Bjorn Andersson , Vinod Koul , dri-devel , Rob Clark , Sean Paul , Stephen Boyd , Daniel Vetter , David Airlie , Andy Gross , Dmitry Baryshkov , "Abhinav Kumar (QUIC)" , "Aravind Venkateswaran (QUIC)" , Sankeerth Billakanti , freedreno , linux-arm-msm , LKML , Liam Girdwood , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 Hi, On Thu, Jul 21, 2022 at 7:39 AM Doug Anderson wrote: > > > You could add a way to specify constant base loads in DT on either a per > > regulator or per consumer basis. > > Yes, this please! ...on a per consumer basis. :-) It's been on my > wishlist for a while and would eliminate a massive amount of code / > tables in the drivers. > > We could debate syntax, but I guess you'd either do it w/ two cells > > vdda-phy-supply = <&vdda_mipi_dsi0_1p2 21800>; > > ...or with matching properties: > > vdda-phy-supply = <&vdda_mipi_dsi0_1p2>; > vdda-phy-supply-base-load = <21800>; Ah, sorry to respond to my own thread so quickly, but I just thought of a reason for the "matching properties" solution instead of the two cells. It would allow the SoC "dtsi" file to specify a base load while the board "dts" file can then specify the supply. That feels like it could be a nice solution. -Doug