From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2924C47088 for ; Wed, 26 May 2021 03:58:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D3D161431 for ; Wed, 26 May 2021 03:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232308AbhEZD7y (ORCPT ); Tue, 25 May 2021 23:59:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231300AbhEZD7v (ORCPT ); Tue, 25 May 2021 23:59:51 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E00D8C061574 for ; Tue, 25 May 2021 20:58:20 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id y76so253128oia.6 for ; Tue, 25 May 2021 20:58:20 -0700 (PDT) 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; bh=1HPVClxABt2jCFgOAzTtzBbjmWzpeUBRvvM0l/gpF7s=; b=rZVNRfkLatkGnk9P/1ou/EbfSVzKxJLBoHjKQvkVwZXEaFxkQjpMKclV+didnwA/7R 1mnAF70MpSYJLnNxaqGW13J+QaxS3h7LOvmXrAOxIXsRvf3E9zN19Yzd+7me/id+lw0+ RQJACtU+/KeHrmAa0CP3cklGFfC35XhUXO40fJyG5uNPxvvlqyxr7CHUEhV4nDtJeoBU 14ZT86EwCZLyqN5WA9gITfMgIZvCoiwwQZLlT/VX1Q42i6/z3Hsx9f3Fo8nrqTFsZTZ0 zFrf2Tv5Q03MmHxG4snVrZvS8MYmVUvs0CJz6BLkPnJoaVJMuTybMvKZBiRJAp9xaDl7 E7DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1HPVClxABt2jCFgOAzTtzBbjmWzpeUBRvvM0l/gpF7s=; b=N9APNTICO7+kv70CRhItpr8cpHzpBomial0Y/z/sgzT0b5aAasB+vTOHAzgP998XVK 3unB4Kg9yqlbE8gSHy/Aitp1xsXkV2lFbzTTnLNr9ZTy3Y3xNhUMGNEeJoRYZ5biTAtO oH9ItHZ/44Q79r4WTawrF3VTkl1DVh2XVL8ZHU2K7AGREZjNGJ4hlZN67qUgn5/hm3+k F/6hBNOGlildJCP+Cna6dQc6MpcTv55Ht2n5VtgIk2e+0AlL9omuuUHexuvzuyS1WdeK CshoRF6ha4v+OdTSHUS3CG+Df5P5toZDpDvi5daGe4Dw27DT9RFLdowEsHLJHsZeD/M8 n2Jw== X-Gm-Message-State: AOAM532c7D69CsEgOkqPa5ex2wqhDx7EX+pbSOfh2yjADKJx3W78cZr2 okSXyxPWbiVJYCIpujvZIRT0Rg== X-Google-Smtp-Source: ABdhPJytvroZhJKWznFEO/Ui7UguScUUzjXW7OnW0380g2TVaOrpz8Vd7Od5hHPU5JeyLUaIh03AIQ== X-Received: by 2002:a05:6808:1404:: with SMTP id w4mr588350oiv.53.1622001500071; Tue, 25 May 2021 20:58:20 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id q22sm4091615otl.11.2021.05.25.20.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 20:58:19 -0700 (PDT) Date: Tue, 25 May 2021 22:58:17 -0500 From: Bjorn Andersson To: Konrad Dybcio Cc: Luca Weiss , linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] soc: qcom: socinfo: import PMIC IDs from pmic-spmi Message-ID: References: <20210504203752.95555-1-luca@z3ntu.xyz> <08fde8a5-1d9f-4676-41c2-133b7a9a1c75@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08fde8a5-1d9f-4676-41c2-133b7a9a1c75@somainline.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 05 May 14:14 CDT 2021, Konrad Dybcio wrote: > Hi, > > > > The driver in drivers/mfd/qcom-spmi-pmic.c has a more complete and more > > up-to-date list of PMICs with the respective IDs. Use those names for > > socinfo. > > > > Signed-off-by: Luca Weiss > > --- > > I'm sending this as RFC because I'm not sure what names are correct for > > the IDs that I've replaced (13, 16, 17, 20, 21, 24). > > For PM8941, PM8841, PM8226 and PMA8084 I'm quite sure that the IDs are > > correct, but I don't have devices with the other PMICs. Please advise > > what to do. > > > As far as I'm aware, qcom did the lazy and ugly thing (as they usually do) and > > decided to reuse previously-occupied IDs on newer kernel releases, where the legacy > > PMICs weren't supported anymore. That's why some IDs have multiple candidates and unless > > a better suggestion than "let's check if this 2013 PMIC+ 2019 SoC combo is sane" pops up, we > > will probably just have to deal with ambiguity (for example `[20] PM8015/PM8998`). > I like this suggestion, even though I think it's only PM8058 we at all care about upstream (as of now). Luca, can you please respin the patch accordingly? Thanks, Bjorn