Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp430378pxm; Wed, 23 Feb 2022 03:40:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeUO+t0d7sszMXV7QILKtcYZLPKiga78HY27HMCGW5ohcdkEPDzGSyvVFPDkp10c2SHwVo X-Received: by 2002:aa7:d2da:0:b0:410:b9f1:ff35 with SMTP id k26-20020aa7d2da000000b00410b9f1ff35mr31422703edr.217.1645616420385; Wed, 23 Feb 2022 03:40:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645616420; cv=none; d=google.com; s=arc-20160816; b=th0shJRx8YAC6r3Iu4JyKm/zY9tH7zjJ5XG98HSCHnfaVsAnlhTyiMuju9/IGPOTE9 mV+Ur3G9Bx0RCUJ17PZuPMgTEYPYSw767MlsHkt3o0oNOa3sVHpgWBCJ5CJDjae476DE UCFQ3XpKWZG5NiSUEiia2SQoS4vBAKFeSIXMXCs76/hlNNWI+l3Yxzw0vQ0AHmRELpLF +9ouI/duvn1JKz+oarDOzLrGWchVGUQ1N93Tm54joMXbAMKuiBAiY1WumtbLlziscM7b C5Ooh/5vstMuqzQGdJPwEhLK+uiAlMeG1Q1plCXGJH9FSricZiPnl1XSXhOqT0fLhEf6 7bNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wwEeIbVKRAFJc1IUROvg7itOrJyqhQC3kCceTm88ch8=; b=04GZflbi5B96yX23a67JMwrjb6+1Q7lBeqkiVwhbSrj6shgZSFNOq9hMzDe8XI6Yus zT2R2+ydMRnNZQD8iYHbfJuU5ZHJ2r8rsv9hBgRtXBgM6exZF+yG7jI+RyP1oblpmxRB eCPW55uO8sVZoIFzkr5VBPw2cB16Rpf3ErczJL0TiVBeWcPE7Rs/r36trGAACXk2vji/ RkPxOOfAP648qsjAutW/Zd9CShsyOmuluKrmgAwDj8ZD+dwXJ+f7U+oV2JLIMAF+2Pqz uIGSfuKvUDTOi5ga3UACFRp7ZCJOZvysUeaALy9YYfdgeNvE68cvdfg+gvmO06DOx+Bz 7cLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xoEiNPwm; 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 kw2si12030003ejc.252.2022.02.23.03.39.56; Wed, 23 Feb 2022 03:40:20 -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=xoEiNPwm; 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 S237127AbiBWJKo (ORCPT + 99 others); Wed, 23 Feb 2022 04:10:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238054AbiBWJKm (ORCPT ); Wed, 23 Feb 2022 04:10:42 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A006C8021F for ; Wed, 23 Feb 2022 01:10:14 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id f8so19338737pgc.8 for ; Wed, 23 Feb 2022 01:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wwEeIbVKRAFJc1IUROvg7itOrJyqhQC3kCceTm88ch8=; b=xoEiNPwmXke/nkZ+DHLML+rqVhZKfA5g2eNwCprpOPWpsB2mBdhm3r7fZWJm77ipkp vrMwX13qNO4zEY1fMqN/y0g0HIfiRkJlRB+JF7WVnmRR07Y7S8dnSjlfx4W3T2FjGywb lSvSAfrbHA3lDrBiL487sp/sc12pqGXt2qrhzgwQsl9UUaI0hLjJGLEGp75Xi4Y8Z5Za kbShy8E4rW66PdUgdyQCUgnTxUo0QFQNSdlIwWLybJYpYwm9OLT69Mo6vZAvNMDID8Yb sCwinct0dhRRhj+KkmJmQymMr3zrpInDNOgrkE7K8oakKrzmIMvORby4TNYYrmqM28u7 YhZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wwEeIbVKRAFJc1IUROvg7itOrJyqhQC3kCceTm88ch8=; b=y5aD+GDceyMluxU4aL44HmGNoXM/POMlPzlHlKm7F9B5J3o3fIT9KnRY5KaWhfG3Kv We68aKGztEJEWw8sUCB/iyUbDwGSqy2O9tojmmtAgWI9yCmOtXDrY+bBDZYWxW0T7Ffi P0A9RIOLQhPBuDHIydmZ08fNSNwFhcYjiPgZY1lSOUFdxq6ha67zJ8l0T6uI3NXINqgI RedFJKWd7a2bqWnNMHPV5MMn3kotVZG2zpDXiNIi+RP1QdDEUv9rNY7h/nbMrpWF2eI2 obBYf83ReDkdfh+YABMKp4LpV0IeKJYGctnKR0mfMkBvvjDosYMrWaMJTFK20arCJ4C1 4o9g== X-Gm-Message-State: AOAM530xkEb4bJL9PK/xiWJXSd6tK1MTipXzborjkiNv9youOh7dhK4r ZDLDJnAhkadBGqjvjipiLTV9dQ== X-Received: by 2002:a63:9845:0:b0:375:5cc8:7d34 with SMTP id l5-20020a639845000000b003755cc87d34mr1002442pgo.124.1645607414211; Wed, 23 Feb 2022 01:10:14 -0800 (PST) Received: from localhost ([223.184.83.228]) by smtp.gmail.com with ESMTPSA id h4sm6269241pfo.81.2022.02.23.01.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 01:10:13 -0800 (PST) Date: Wed, 23 Feb 2022 14:40:12 +0530 From: Viresh Kumar To: Lukasz Luba Cc: linux-kernel@vger.kernel.org, dietmar.eggemann@arm.com, rafael@kernel.org, daniel.lezcano@linaro.org, nm@ti.com, sboyd@kernel.org, mka@chromium.org, dianders@chromium.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [[PATCH v2 2/2] OPP: Add 'opp-microwatt' parsing for advanced EM registration Message-ID: <20220223091012.w3flzpye6z55jnwd@vireshk-i7> References: <20220222140746.12293-1-lukasz.luba@arm.com> <20220222140746.12293-3-lukasz.luba@arm.com> <20220223055357.t3wulpla64vt3xus@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 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,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 23-02-22, 08:59, Lukasz Luba wrote: > OK, so you want to have this available for the whole system. I can do > that. I would go for one value of power One value per supply, right ? > and try to fit into the > opp_parse_supplies() code. Correct. > As far as I can see in the > dev_pm_opp_get_voltage() the simple solution: supplier[0] and u_volt > is used. I would go for similar solution for u_watt. > There is even a single u_amp and no _max, _min variants, so should be > good.. Yes, I don't think we need min/max/target kind of naming here. Just a single value per supply is enough. -- viresh