Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1356279pxb; Wed, 2 Feb 2022 03:08:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8iLgOV1yrMlL4GGhf3kRGtepZhhpcivjvxAtwnyxJrfMAfqLDp8A9OCIzlJ+dKl8ZWbZS X-Received: by 2002:aa7:91cc:: with SMTP id z12mr15536442pfa.24.1643800132327; Wed, 02 Feb 2022 03:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643800132; cv=none; d=google.com; s=arc-20160816; b=JAG2dsTXPzqYxoZfWxHHLBCM/S9CjnHLyrK/PFIK2ejpLuwjoSVzhTyid8xKZKe7xH 2sAOHggBEqU3ftjWF/Ti0fDU/JkIHq/g+ExvMozypjXzlLoVIf5EVlS0LnlW9hmOyU7F is0/wYufVdimgtkZt2Jfr+pUW8zhNyzw0bLvlrjVHLEeVdxdJP/aiDDdjpVw9RqVT6pA GcXGZ/VMXrPiGdAIeDeLdBtPvdnnbjvoENJnA/GVSNOvZv4ME4ha7k2Q0h3zw8kk/J+0 XBsMYKlXXMOpVIZ6KvTTgP6w/wX4stDRsyqpNZmy1fSnWaWtcSC661jH5t2grUfRnqxY d3YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n6XnzdwIULoqi1wcRD2H8ONqJ+k3m0KBbOOZ0bj5T0I=; b=stPkqew+C01MfQV6evKLrGc6F8IjzkAp8hZFAeeDQV1+7Nk+iVG6TDPTv+Sc1bQK7a 7idUZpYz0mv19ACkvoA9SgrlSNnILtHSo/Z940D6JuMihNsmcWLU/EJmLswWyWvo1lP2 yx/LuADR7pQoscIkMlGLxihYb4MPfiSqPcYTb7c0az1Q/j3iqMsFhdYzGJcc7VZWwJC6 t1oDHQwHNLx6gO3cgaf085tFkpCHBeoZV/RBdFMflJUNje3yJOOm6doXgDqXdFrGT2ui sNnKz5VjO9KnLHPyGNJeKzkQmsql//FOwqqqqZBRFZh6DtXq3CYG5FRdwtnwj7DVQroO Wwmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GAPxW1du; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8si18432717pff.43.2022.02.02.03.08.39; Wed, 02 Feb 2022 03:08: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=@kernel.org header.s=k20201202 header.b=GAPxW1du; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238845AbiBANlY (ORCPT + 99 others); Tue, 1 Feb 2022 08:41:24 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:37886 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238844AbiBANlW (ORCPT ); Tue, 1 Feb 2022 08:41:22 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3267D6158F; Tue, 1 Feb 2022 13:41:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 952BAC340EF; Tue, 1 Feb 2022 13:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643722881; bh=3KnlN7Y/hTEj9hATfxPZBzN00tZd7SwEaNHJNcOww7Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GAPxW1dubcrklO42+HmigoPO59fr3vE444AIRqWA2VbkFPrmN3iyEjQiGFh6SHyIF S32b75lBdjJK1SxJ940c8OV61VmXaBDaYVu918aALbJ1+7dJLg0lgly+xESOI5V8VG w+hz6kZ2eLdQA+xKCFCkIpOgEa0NaUC73Ywulx9YmOmtDkUciMuJk9g5m3Rp4U5NpV l/wiwt4w1iQ4gG/OLfsMBlwKGBLfwtCRuzXHfwMSlgnS51P/xhOF0xzPiOqvqim6CJ gL9dFeJtSuWqxj7omM9LPv/7dNrVj9+WwyNENCZeYkv/CfDHufJ7agxbz+SvtdxEY8 YmHXxZk4BAcNg== From: Vinod Koul To: Stephen Boyd , Rob Herring , David Collins Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Linus Walleij , David Dai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: spmi: Add qcom,bus-id Date: Tue, 1 Feb 2022 19:11:07 +0530 Message-Id: <20220201134108.2677578-2-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220201134108.2677578-1-vkoul@kernel.org> References: <20220201134108.2677578-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PMIC arbiter version 7 and beyond we need to define if we are using primary or secondary bus, so add a new property of qcom,bus-id Signed-off-by: Vinod Koul --- .../devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml index 55d379c85fd9..cf17301fbb62 100644 --- a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml +++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml @@ -85,6 +85,14 @@ properties: description: > which of the PMIC Arb provided channels to use for accesses + qcom,bus-id: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 1 + description: > + SPMI bus instance. only applicable to PMIC arbiter version 7 and beyond. + Supported values, 0 = primary bus, 1 = secondary bus + required: - compatible - reg-names @@ -116,5 +124,8 @@ examples: interrupt-controller; #interrupt-cells = <4>; + + qcom,bus-id = <0>; + }; -- 2.31.1