Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp335516rwp; Wed, 12 Jul 2023 14:13:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkMzIr2jxhlBEZGTA3m3UZ691rYs6kDijlYvc2AW92A1BEkbmp+Nua/3HQWmP+h5ajhTw/ X-Received: by 2002:a05:6a20:970b:b0:122:10f9:f635 with SMTP id hr11-20020a056a20970b00b0012210f9f635mr15785461pzc.19.1689196387508; Wed, 12 Jul 2023 14:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689196387; cv=none; d=google.com; s=arc-20160816; b=P00i1hJlH6KQeAuJ3Y9w19Cl8X09RLjMMwNVyGxtwnAQYyyBEpD02tdeUfJKpS9eWC 0BUX4dNLocgYjd1qPGzxDyBrmBY9dt9BbqfSumPJq1XHsJ+g+DViMA0gDPE6Z7bc5UZg eogRBCbPO60QJ8FmvOeSHBI3Y2fwAvmtQL3rJ/NEnkHfnY6WIGGbLBBdoikrkxYUCjo2 4ZhzXP0jfqKn4YEleboGK9PhXSRW6jp3c1Bd5UWAmV5JaMYzUVqwIbv9b9sK7tTdiSsR +K8wY51sY+ZdXUGtBhPh99clAI+kj+WkBbeToBIxBVtNYLYfcwMuAQ/F+6uG/a89wmWO MrNw== 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=mxj0vkKKD043p6PHtWv3KkxyrVuCumGrpEKjLxYyWJQ=; fh=FMsdoA83CTZJBhxWiFwlZS1V0IlHbLnxdlyPIr2Mwuw=; b=QFkjWGsTlQ8xepyGVjw+ey8uEl2g88X+3BCojMKjjdOGwyxUNboaeV5rcRL4Xwlk5g daLJ1AHh2d53wsTpasy0IlC0ZTt99BUPKH4RJ9Sujk+vCLL9mVuA3F5GwPgPZYqkktWG JHuXNvE1Eoho00IXFUsBdY2N8qgF75wXwl2B5afLyMw0/++fAgPh37PMDqnrkmXqrOUW UEMIDG9lZJyVDuD6LkeYwtdeu9VU6j0Eo6NNivnPg2B7UHpGo6d4I9I5y3c9wvZUsjRc l7vxEomlY6vr4ZoS14YlEJ7GDHTsFrrDOsvDWzMaZtgdgFIr0GM431YW7zxC5O+G0Ufh T2OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nnOJSC6x; 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 r7-20020a63e507000000b005340840c0c7si3492482pgh.476.2023.07.12.14.12.54; Wed, 12 Jul 2023 14:13:07 -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=nnOJSC6x; 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 S232283AbjGLULt (ORCPT + 99 others); Wed, 12 Jul 2023 16:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231987AbjGLULr (ORCPT ); Wed, 12 Jul 2023 16:11:47 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E1652114 for ; Wed, 12 Jul 2023 13:11:41 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3143798f542so26422f8f.2 for ; Wed, 12 Jul 2023 13:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689192700; x=1691784700; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mxj0vkKKD043p6PHtWv3KkxyrVuCumGrpEKjLxYyWJQ=; b=nnOJSC6xtHB4u5pCaZlk7uAp1eT3XU5je1VAzlkF6Vx52tz4YCBE6or4dtGPTXb1QI ENoIbxBCkQRdaTd9ySKijp9AbYUSQ+miYOJyXZFv41HAaCRiieTP4j/mi6QJntvokFWe UUeMlwqlagtjaAJ9X4gj9j+6Lk7mfEY+wrYLV7YYImdbVNQmRMDE1URwWD7BW8bhyEbJ 1NNNraeHrZnYHBSUAx0hdIyampNie/FR8i69RREFAbv4r/AmFmBXQPLC2WDGIK5VSwqI 2ff5phLH+ZlbQ95x3OWEfEQ6dumLOmkkH169uiKB65YXw/b6QecFdq4tQV0ppcwumSYf l8HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689192700; x=1691784700; 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:subject:date:message-id:reply-to; bh=mxj0vkKKD043p6PHtWv3KkxyrVuCumGrpEKjLxYyWJQ=; b=JUwE5x/Is5lyPlQIDStfIOb5BFN8HSLS+M+dXCIbjjUxTg0aJgdtNNCLcOxRFL43i2 Bxlbxw/SHnnONJhqfJbWhkyqrwQT/H2/8xJtCma0h82tDFrQL/rXsMc75ZsPhuCwJ+17 EtW9+BtYw9Re33U370n6/t5tn+ai2NFosbI4BF8Or3zR7C5scnoXIgq1CoADFPHPYZX8 u9bKkyptd8hy5G/zZaSVArx2QGwOMPvu05DeD0s7G6TGk4dR4omAiNT3S/xJphMkoDYt IJvuRGEc+3R7vNwbHxAXPnR1zaltfTbex4QwzJP4sAhssARQRd7XiRWj0zOhl7p5OBKJ jZrA== X-Gm-Message-State: ABy/qLY03OjdqxnzG6KwyRX5MXqs/wXCJZ3zOq8kgDnsvBpJ4ujaCEM/ eBBAreVdd1wWJsJijJRFIaFdNQ== X-Received: by 2002:adf:fd4f:0:b0:315:a74c:f627 with SMTP id h15-20020adffd4f000000b00315a74cf627mr5448716wrs.16.1689192700077; Wed, 12 Jul 2023 13:11:40 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id qo11-20020a170907212b00b00992b0745548sm2935867ejb.152.2023.07.12.13.11.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jul 2023 13:11:39 -0700 (PDT) Message-ID: <7ecf968b-45b2-c6b7-86a7-8d8caccf5002@linaro.org> Date: Wed, 12 Jul 2023 22:11:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 1/7] dt-bindings: soc: qcom: Add qcom-pbs bindings Content-Language: en-US To: Dmitry Baryshkov Cc: Anjelique Melendez , Rob Herring , pavel@ucw.cz, lee@kernel.org, thierry.reding@gmail.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, u.kleine-koenig@pengutronix.de, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org References: <20230621185949.2068-1-quic_amelende@quicinc.com> <20230621185949.2068-2-quic_amelende@quicinc.com> <20230626135857.GA3118929-robh@kernel.org> <2e871e21-a81d-0d7d-993b-9a9d7bd9d962@quicinc.com> <32e9a512-fd74-b2f6-6b8a-fefb9ad5912d@quicinc.com> <431faa87-d152-5f7a-40fd-8b6fe26f0bb9@linaro.org> <71e1f36f-8fd8-9d61-d563-577d4fb54f10@quicinc.com> <69c01f0f-4eb0-bb44-a238-5c9ce5beede9@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,URIBL_BLOCKED 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/07/2023 16:35, Dmitry Baryshkov wrote: >>>> Rob asked you - "Is there more than 1 instance in a PMIC?" - and you did >>>> not answer positively, just mentioned something about drivers in >>>> downstream, which do not matter. So is the answer for that question: >>>> yes, you have two instances of the same PMIC differing by presence of >>>> PBS and other features"? >>>> >>> Sorry that was a misunderstanding on my part. >>> Yes, answer to Rob's question should have been "We have two instances of PMI632, >>> where one instance holds the pbs peripheral and the other holds the lpg >>> peripherals. The child node for pbs is needed so lpg client can access >>> the PMI632 regmap which contains the pbs peripheral." >> >> I guess I miss here something. What is "LPG client"? I don't understand >> why this LPG client needs existence of PBS node, to be able to get the >> regmap. >> >> PBS is a child of PMIC, so it can get regmap from the parent. What's >> more, which DT property passes the regmap from PMIC to LPG client? > > There are some PMICs which claim two SPMI SIDs. For such PMICs, each > SID is a separate device, so it is not directly possible to get the > regmap of the other SID. OK, maybe after implementing all the review changes - including dropping that singleton pattern - this will be clearer. Please send new version and we will discuss it from there. Thank you. Best regards, Krzysztof