Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6859476rwr; Tue, 9 May 2023 23:49:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5OJc/5nrsDxpY6jrggGwKjIfR8kjRkh4KIYZ7StaLptMaoKj69ErvVGcgiy6UyC4rvSr+9 X-Received: by 2002:a17:90a:f18f:b0:24b:7618:2d16 with SMTP id bv15-20020a17090af18f00b0024b76182d16mr17240839pjb.31.1683701350587; Tue, 09 May 2023 23:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683701350; cv=none; d=google.com; s=arc-20160816; b=XiaJXUTgShypcqyW3oIl+AF+gjq19hZy9hHCrUoQqdpGkWU+qAHpzaXM6HD9ZcsFUn bvSkyGQ2ESL5WpVB3hgCjM1uCKU9czi5Fv16xaODjYO76RSt7YHo/SAPixZNkxlGvZWs 2AWE1XNcxHiRVYCv7/eiGaA69Jc+ObuN1j2F7PbRF223gy5PX5CQ3o9dcKz5OUwUio58 SxK0PPupmib7JZ84fcsMrVTo2rSMZC9QougOMDtTBAQEGyXXtyMta4IgHlYNVNR+vqKV a3P6ciTR/I2sPz8P6OcteuDvDxXEOgPZr5VvtfKO8u4bPkgy45CRSUfGwAF+STCr+Zsy 9qOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=H//eZGlEJS/35YEhZwhGTWp7oEUZuMDqjOLd1KsW/Dk=; b=CIkNakzXFPZ2x89Bv8KUJ4bUmdDpslNSe4AdcKh4m01kfOWGH1NfjNMmNhPJAFHNiz UFJ0IkBu7GP+4bCqtNFqFywszpxlH179yV4Lv3joTu5oLNv791FaNZIWrh9/0k/0Hcdf niub5gwFLjbQHSsy7PGlKIEPr9xwaPJipHYt2NiNmS1QAuFHN95Jyn4ZKBhGf/Tg5lNh jBKXUsaz8tk0WP3M08XNE0YOUv791GfuQcGWsa9hyeNSBsZsOlAxRNJkFjp41Rb1tIny JRRa9Q2FGtmDyMkwsOz+9L2aYcSEGGtupqwrxoqbWT2F8J3G7kveKOqlOWbD3gyIXWXu UohQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=je9yKiew; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t64-20020a638143000000b0052c96dcaa82si3482504pgd.98.2023.05.09.23.48.58; Tue, 09 May 2023 23:49:10 -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=@fairphone.com header.s=fair header.b=je9yKiew; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236051AbjEJGrO (ORCPT + 99 others); Wed, 10 May 2023 02:47:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235502AbjEJGrM (ORCPT ); Wed, 10 May 2023 02:47:12 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEF7B270E for ; Tue, 9 May 2023 23:47:10 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-965ac4dd11bso1354748366b.2 for ; Tue, 09 May 2023 23:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1683701229; x=1686293229; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=H//eZGlEJS/35YEhZwhGTWp7oEUZuMDqjOLd1KsW/Dk=; b=je9yKiewPEqrhtPLrQqwPtxJPJwBxoylsg0o6HBvbvHaeaOCMwK2O/K63M9TCx581q KMMEW5t63lQuVAUf1xo+olgAm9NiF6RqPLHCm5i+3249dA9gRah3aSuUILXkeOSWeZbG nfU0EK3FPHsTNEA2Rzwnv+XtlWgxujJ+iefazA07nVnVP+axplHu7lDjdx8lkxhv/I1h z9kYI5FDwrnlSuLvF0oE2woDtXjyXIGcPgE9ii0MybB5S5nbkMhDjAd0K6pMvyE+H0pd xr+vKV4JEGeOhwrPDqHa3bBrM65Isgzv9dun7qEXa6Y9blruDQQRXwqOIl8ZCJ6oRCUs Eu9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683701229; x=1686293229; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=H//eZGlEJS/35YEhZwhGTWp7oEUZuMDqjOLd1KsW/Dk=; b=JHhmI+oyg6tdHdYXYp1sWSS6m1NqWBCA42T/kEdLRq3o4+x2Qua26CbXQF9QOIOVRX 0Ta1RA7DAJxHWh3zkHK+YD0Eh23xV4Yik2Ro1Aw6jccKiiiJmKBpOrr1rIfS2MRQauiY 4zNoM5LSUqIw0aWMliL0pBvrlGgjuLp5nr9hkRCF/88EPHJ5w4dlb5/wofkV6nnWmobp wE08ursBafcsycLCVH9AXamG1oZBE8Mdc+wvcX7ayBuWdKZoxlysWlBpr8/lVRvUc9+Q K8PxzqdlN9HYpXjxlYg4Hj29y6PpxE+ylUed6m/EIdtdz5nWV9F6rqEy2L/WmfA3QCU0 qRzw== X-Gm-Message-State: AC+VfDweS0FLhEyS5pQOuDkpZTrtzSzEI1MI7yV1CIRnK5+Khm4QN9Ox RwAUCpxLj3m5SY4TF+JE8HjcRo++r8cy4tzVWM3ffA== X-Received: by 2002:a17:906:fd8d:b0:94f:3521:394 with SMTP id xa13-20020a170906fd8d00b0094f35210394mr13259517ejb.51.1683701229329; Tue, 09 May 2023 23:47:09 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id pk25-20020a170906d7b900b00965d9892bafsm2273306ejb.111.2023.05.09.23.47.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 May 2023 23:47:08 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 10 May 2023 08:47:07 +0200 Message-Id: Cc: <~postmarketos/upstreaming@lists.sr.ht>, , , , Subject: Re: [PATCH 2/2] arm64: dts: qcom: pm7250b: make SID configurable From: "Luca Weiss" To: "Krzysztof Kozlowski" , "Andy Gross" , "Bjorn Andersson" , "Konrad Dybcio" , "Rob Herring" , "Krzysztof Kozlowski" , "Konrad Dybcio" X-Mailer: aerc 0.15.1 References: <20230407-pm7250b-sid-v1-0-fc648478cc25@fairphone.com> <20230407-pm7250b-sid-v1-2-fc648478cc25@fairphone.com> In-Reply-To: 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,URIBL_BLOCKED autolearn=ham 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 Krzysztof, On Fri Apr 7, 2023 at 10:27 AM CEST, Krzysztof Kozlowski wrote: > On 07/04/2023 09:45, Luca Weiss wrote: > > Like other Qualcomm PMICs the PM7250B can be used on different addresse= s > > on the SPMI bus. Use similar defines like the PMK8350 to make this > > possible. > >=20 > > Signed-off-by: Luca Weiss > > --- > > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 23 ++++++++++++++++------- > > 1 file changed, 16 insertions(+), 7 deletions(-) > >=20 > > diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dt= s/qcom/pm7250b.dtsi > > index daa6f1d30efa..eeb476edc79a 100644 > > --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi > > +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi > > @@ -7,6 +7,15 @@ > > #include > > #include > > =20 > > +/* This PMIC can be configured to be at different SIDs */ > > +#ifndef PM7250B_SID > > + #define PM7250B_SID 2 > > Drop indentation, although anyway I am against this. Please don't bring > new patterns of this at least till we settle previous discussion. > > https://lore.kernel.org/linux-arm-msm/46658cbb-fff5-e98b-fdad-88fa683a9c7= 5@linaro.org/ What's the outcome of the discussion? For this PMIC it's totally enough to have the SID configurable like in this patch, I don't think this PMIC will be included twice in a board - at least I'm not aware of such a configuration. Regards Luca > > > Best regards, > Krzysztof