From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEE24A48; Sat, 20 Apr 2024 01:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713577667; cv=none; b=IUfHyT5Utg5AyYbnb0VeGE9WNohKb52XlgjjnHACbVMjzLbtLz68KsDhpyx5R882ospaeX/mJqAPzMHKbKYB687Mn4KcOsXAndm6S2UaCFuc5M5ZzFPHwfnebcZez8yEl2yiEyX/s3lqr3TPRxW8c+yPs2n1XC5HF3v/08shdrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713577667; c=relaxed/simple; bh=cWMroMMkLbwhg0gSs8q2CbxK/P5KZ4bNvKuihB+CO8w=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=J0LomfExYDe3JwI5GT9Te7e51kPH3d0HSj+UNzXvwza5E0aV/QMdImQaOmcHJNLOyLgKnTCahKJH2/nl0s5eZQO1+dZ2DC3WKXxex+KS4mXsX8RglOqKf07y3Jyhm/kEnQ+RNc4d1UpfOF7cPhU/wGEb2hGv9Z3rqzqxtL1MwQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GvB7Cbpw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GvB7Cbpw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EB8BC072AA; Sat, 20 Apr 2024 01:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713577666; bh=cWMroMMkLbwhg0gSs8q2CbxK/P5KZ4bNvKuihB+CO8w=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=GvB7CbpwrgLe+19HALfFpWAblKKATYyBaO+VbWrsY+zQva+CXF92UhJTlaHuT3ktn XKgZc3N0k2ujq+jUTyDeNxZDNl5g8DRdgQwC4whH/6K+L0PQI9QeTdzBw7c16qfK3M x+6k39438SwPQhHbE1AXu3LeUmSYo4JsE0wBQAd85FBzGdiru3cmtgBU7EtTyIK+RI FJHGwbOxnplGExwNqqdRxfQIjo+nLD/TTkN0+LY1vlRCbOguAdp04zvAGmcWMxaQb/ w3Gc33XonrJyYZBXP+bhebdBuvaHCFuFY0DQQuzxh3PBLWPTrwmDvloak1sCLu9XzW Fja6e5FBHPZ4Q== Message-ID: <729d8422f7ecd601019d015f53bd7cd5.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240417-spmi-multi-master-support-v10-4-5bc6d322e266@linaro.org> References: <20240417-spmi-multi-master-support-v10-0-5bc6d322e266@linaro.org> <20240417-spmi-multi-master-support-v10-4-5bc6d322e266@linaro.org> Subject: Re: [PATCH v10 4/7] spmi: pmic-arb: Make the APID init a version operation From: Stephen Boyd Cc: Srini Kandagatla , Johan Hovold , David Collins , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Abel Vesa To: Abel Vesa , AngeloGioacchino Del Regno , Bjorn Andersson , Conor Dooley , Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski , Matthias Brugger , Neil Armstrong , Rob Herring Date: Fri, 19 Apr 2024 18:47:44 -0700 User-Agent: alot/0.10 Quoting Abel Vesa (2024-04-17 13:00:56) > Rather than using conditionals in probe function, add the APID init > as a version specific operation. Due to v7, which supports multiple > buses, pass on the bus index to be used for sorting out the apid base > and count. >=20 > Reviewed-by: Neil Armstrong > Signed-off-by: Abel Vesa > --- Applied to spmi-next 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DBA27C4345F for ; Sat, 20 Apr 2024 01:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W6Jd1Ae9qnxkQ0ibI2U+zsCF3e2u9UjYNSblQesnDM0=; b=EnmOj35vADGV2Y 5spW4pPTj47coe4cXg/fPJo7BBJnmnjjTKimR2K+Wk47eruVKndXYkNFwHNbFNH2eA1H0cAJ4Foyf 1yWVoacAciivW/zZQHVw+TcGbrSetopA+SUpBVFTAn9YaWz8HW3lJCDTcGZlLiHEJ1zw2LQJsCxy4 3u2Xg1JyyXYi8ACnCEHHoC9hKmdW+k7iu8H/atQaJWSCmJaz6ALTXKqS7YPV31csNDTFv1UX7clUL DfclNHi7FSsbPmTGEdIUXO81w5Py2fnJoOs9x9RqJ/Oj339+GNuL1FS0DECYy6Bv6rC5qTFMIkFr7 CulkNJDukvNK984dcQUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxzpY-00000007XHZ-13rE; Sat, 20 Apr 2024 01:47:52 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxzpT-00000007XEy-2mdV; Sat, 20 Apr 2024 01:47:50 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D6A8161B59; Sat, 20 Apr 2024 01:47:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EB8BC072AA; Sat, 20 Apr 2024 01:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713577666; bh=cWMroMMkLbwhg0gSs8q2CbxK/P5KZ4bNvKuihB+CO8w=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=GvB7CbpwrgLe+19HALfFpWAblKKATYyBaO+VbWrsY+zQva+CXF92UhJTlaHuT3ktn XKgZc3N0k2ujq+jUTyDeNxZDNl5g8DRdgQwC4whH/6K+L0PQI9QeTdzBw7c16qfK3M x+6k39438SwPQhHbE1AXu3LeUmSYo4JsE0wBQAd85FBzGdiru3cmtgBU7EtTyIK+RI FJHGwbOxnplGExwNqqdRxfQIjo+nLD/TTkN0+LY1vlRCbOguAdp04zvAGmcWMxaQb/ w3Gc33XonrJyYZBXP+bhebdBuvaHCFuFY0DQQuzxh3PBLWPTrwmDvloak1sCLu9XzW Fja6e5FBHPZ4Q== Message-ID: <729d8422f7ecd601019d015f53bd7cd5.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <20240417-spmi-multi-master-support-v10-4-5bc6d322e266@linaro.org> References: <20240417-spmi-multi-master-support-v10-0-5bc6d322e266@linaro.org> <20240417-spmi-multi-master-support-v10-4-5bc6d322e266@linaro.org> Subject: Re: [PATCH v10 4/7] spmi: pmic-arb: Make the APID init a version operation From: Stephen Boyd Cc: Srini Kandagatla , Johan Hovold , David Collins , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Abel Vesa To: Abel Vesa , AngeloGioacchino Del Regno , Bjorn Andersson , Conor Dooley , Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski , Matthias Brugger , Neil Armstrong , Rob Herring Date: Fri, 19 Apr 2024 18:47:44 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240419_184747_817019_0565D142 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Abel Vesa (2024-04-17 13:00:56) > Rather than using conditionals in probe function, add the APID init > as a version specific operation. Due to v7, which supports multiple > buses, pass on the bus index to be used for sorting out the apid base > and count. > > Reviewed-by: Neil Armstrong > Signed-off-by: Abel Vesa > --- Applied to spmi-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel