Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp373464rwb; Thu, 10 Nov 2022 01:58:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM6224OjJqbbXYoNy9oVGm/Q4xmN3/JhTuIDU10lP3xqj1hkScnkdBn7jfCYSmDiQpxtyQtc X-Received: by 2002:a17:906:f89a:b0:7ac:2e16:a8d2 with SMTP id lg26-20020a170906f89a00b007ac2e16a8d2mr2487551ejb.584.1668074332888; Thu, 10 Nov 2022 01:58:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668074332; cv=none; d=google.com; s=arc-20160816; b=FRVWPgAg3RPiTG+1P6bKLJEConvlsJqPo+xoTaJxh+paxiXQ3uv38VSOR82Cl5dYZk qoEoU57PfI82sn4Hu6v/1mNiKcw+Q7HQ0wAuIEOsl5PmWCdhkgLEiS2+7n9WTV/+s36/ lyRpbvqiUk0eQaA9qN78WcZ8dxxPoAW1mGhKvO3YOr/vi3IEkd+thZSaJ/pK78d5SY/h JNKkUbqwbTpVNt8qOTpCG7VLOwpzgnLhPZm1aL1fEWmT2twBzEiUKhW3y+DTt6L0BrJ5 h3OG8o2H9a+YsI2SHWAtLBmg7mB9P2RVAWjSsoh3QZmfVyUou+z+MvSWTatVpYi5ODoL L47w== 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=RQ0zoYzFDslrILFuWLllOLpBV7AGCbxKTB4yqbkqbTU=; b=pPSSzJatwvoXOW5Wgu8lY+xqcUmoWnUBBOfGPv6rCOwq7zgyoHzKivWeuu9zJg+B8z TqaiKcSak8p1b8/f3by8mFhwlUushXZsrjhBr/Ha2PR5ZeGQ3hIvtlPMy3iC94w1C6pG lbX7rVVGQHZXanbpSd0bsHT3tJVzWY7AXXTiTik8NJcU72Q5SThrlgQUqrckDe2umyai CZ1SRIDJ45BXDhj89BgvTSCO4tWWLNoA+DokNQJOKxZBhAqxN/2VrRuo7RGV+umo+VN2 QI6LcoWEWZg/QBpKkrnpW7biKDZyZTAufVK9E3rU306cHT4yfbZXfbbwz/FsoLtcoHII mQ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tWIDsNsP; 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 s17-20020aa7c551000000b00462c7bbc03esi15720130edr.114.2022.11.10.01.58.31; Thu, 10 Nov 2022 01:58:52 -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=tWIDsNsP; 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 S229758AbiKJJMg (ORCPT + 92 others); Thu, 10 Nov 2022 04:12:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbiKJJMe (ORCPT ); Thu, 10 Nov 2022 04:12:34 -0500 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CD7A68C6E for ; Thu, 10 Nov 2022 01:12:32 -0800 (PST) Received: by mail-yb1-xb34.google.com with SMTP id k13so1644160ybk.2 for ; Thu, 10 Nov 2022 01:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RQ0zoYzFDslrILFuWLllOLpBV7AGCbxKTB4yqbkqbTU=; b=tWIDsNsPLPVHZEUozYnvLCa4EWhx/j6ljw3pP3nqoGByY+EaOfGp7EoZdND0d8M7M/ 9PAV7GXHe8oYHkowL8cFpBAazx+t2vwrFAPeRDlPzUJIB4nrYogvIxSrYPueSfuTXCmI Y4UHd8Un3UcEW7awvppHlmmGY7bu4y+hpBIh2STn7wKoK+6CPblfqlR7+RvWUyNuo5IT ZjEXwNI3z03e8LGKrfHOnQBRr7osVT/7R1h1RsLwlNpH+kNitVT0XyDUthSbMLLRJeAQ BAk0MsCR1qh3Cz5rHauXJfYmuNYIRhi0QX53mruVuXWKXKyE0rIAbg0ixr12RyaPTVD0 jyoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RQ0zoYzFDslrILFuWLllOLpBV7AGCbxKTB4yqbkqbTU=; b=PycudqHYCwl1x+iigt9zSHcZGpcnpuXnVotznMlsDETfRxnHGBXz4jFywwhReCiqwR a/ei5Uc6lr6TvJMf6m6xOY+zlVmbkV+0y27fnonb0rPNVenlEOafQa/34xTC4yH9L6Ui wKmER932/Yt1MB6pOanKib0nS/gLe92X1bxPuq6zbbSogz5VJ24TNgdmVjFku3aK/nTx pS1Hk2yF1K8m/UzhxjDpP61j+D74XX1yCKc8Bx3Q6c/1yzy/kFMb/dGACIds9HQyajpp wGLgmaY4Oy/p79AIa0LKkQxoQSN/Z2i+M+D/WL1BLw+lheBepYxczENJlFppc7FqBHR+ xTHg== X-Gm-Message-State: ACrzQf2yd/fMP+ascf1OsyFJwtTCyUsBeUkmfJmTlSY6mnzw3BhdAZ0e MpXhLc24hqxe4bYHQPeC9CST0yR4nGMXvUXkJR5j8w== X-Received: by 2002:a25:8a0f:0:b0:6c2:4ea4:69e5 with SMTP id g15-20020a258a0f000000b006c24ea469e5mr62811315ybl.153.1668071550711; Thu, 10 Nov 2022 01:12:30 -0800 (PST) MIME-Version: 1.0 References: <20221109111236.46003-1-konrad.dybcio@linaro.org> <20221109111236.46003-4-konrad.dybcio@linaro.org> In-Reply-To: <20221109111236.46003-4-konrad.dybcio@linaro.org> From: Dmitry Baryshkov Date: Thu, 10 Nov 2022 12:12:19 +0300 Message-ID: Subject: Re: [PATCH 03/10] arm64: dts: qcom: Add a device tree for PMK8350 on SID6 To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org, patches@linaro.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 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 Wed, 9 Nov 2022 at 14:12, Konrad Dybcio wrote: > > PMK8350 is shipped on SID6 with some SoCs, for example with SM6375. > Add a DT with the SID changed to allow it to work. > > Unfortunately, the entire DT needs to be copied even if the diff is > very little, as the node names are not unique. Including pm6125 and > pmk8350 together for example, would make pmk8350 overwrite the pm6125 > node, as both are defined as 'pmic@0'. > > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/pmk8350_sid6.dtsi | 73 ++++++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/pmk8350_sid6.dtsi Just to throw my 2c. If I was doing this myself, I'd allow pmk8350 to receive external SID using the cpp #define (And to default to 0 if one didn't use it). -- With best wishes Dmitry