Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp116445lqo; Tue, 7 May 2024 14:08:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUBkDwN3WKd2McGVm6MKQ4qSsPPQN42ZJREu7MS2FF9o1SX0oeL5Ns0eR3peiOyMD+rkM9NsGbt1e+hewp/8Zwu0JzMRRmaQAbPVD5Vg== X-Google-Smtp-Source: AGHT+IE6xP/FMDCboLGf6CIQUCLksp0kRzX/qFFWBYFdV4LzZ6iyHXimMn6P/nyexgVKa78qUzg9 X-Received: by 2002:a50:951c:0:b0:56f:e585:2388 with SMTP id 4fb4d7f45d1cf-5731da9aebcmr564564a12.36.1715116108173; Tue, 07 May 2024 14:08:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715116108; cv=pass; d=google.com; s=arc-20160816; b=Uynyy2GMiYU4pTssT5zL4w0c4PBjw6CrHFK0nS8eTqLBXUVyWcM78U+TEj8Cw4aqMK eMIk+OgxIKbc/wFkCWOJxmMeDCecTtkRVh+KQuZVZPWsNL+7oF8z7gmKLhpwQ6Npf6Da bh4XZX38H4PjPaLHzS6zz0o9rsW4/Q+A1ya5xJI/1Zada2Gwf0wxLTWB3xF6kBH2J+kV epHX/VVrfAc6XG1/F9D+3D2GOQqsg7k2fFHVbhqrm6eIo4YC9WiCArOqDd69CxSeX/Bz iP68FjygRnuMp+JfG+7o8cANftB64p1+UoP4LQLyhfyhQz57iPeq0axRlt8LQmMJ9pC1 Jy8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=fRZI9hAUDQd5SWdhzeCTDfEym7F0FJLs/KYFj3Hgoxo=; fh=3h6yHVx9JNSX8oBklgye2pKixrsOMD/3PjCi/cM+v0Q=; b=RzYWAsMNi90woBV2QrOj9ZPvR6YsQtXv/ekqC9F3Xe2u/YsVtlZagEoU3VarJcZxdW EQYyHNuLRDnEORibfuAKzYKWQu/KAlYdzGWs4b4ulHISDoGNd1KS7ClbaNYtaFg4fTmy tD1tP1q/JElS4kG0V8/NBKfzb5sZbareQTo4btPdUT8je/QAWDUNze2WupSjfeVPXiwS Z/nXYLcHr2+m8O9BFtvJQXVqR2LSCf5KRoGUc0Dc6NUhUvDqFumkUBS3vBZJWv4KuzIm QnIGqu4QYdKSMosg/sgCOsRaAJF8H5fglCfy/pqTk/h4YaauZcZlR+uJ5dic4c+JFUYq fXdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P8F296cM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172191-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r13-20020a50d68d000000b00571b9aba848si4558051edi.566.2024.05.07.14.08.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 14:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172191-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P8F296cM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172191-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E13391F25E07 for ; Tue, 7 May 2024 21:08:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87FAC78C70; Tue, 7 May 2024 21:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P8F296cM" 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 B2E9D71B4C; Tue, 7 May 2024 21:08:11 +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=1715116091; cv=none; b=Y1GIWvcJ1yTj9VGY9G6i5Ro30Jh2RmDB/oi1ZacHZCkC0wTuGhPZcIVG75yr19J0VMhu4oDFU+hgcH/jQMEaYh6ADFHXG5H01guEmatpGABUeWc66RSaHToontYJD1AFI++W1VUVQVKQqXe8hMiVNPY5F9Mq9N/T9ymSgP90tSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715116091; c=relaxed/simple; bh=r5oe1vkus2mJ8VOrgZSUKhQsffL0l19+uK5j58WulmA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r+tUuddJzB/OMxP+m2JlExbbcas5MEFzKWGreeDJDaLX0deAPQpeqZG/jp2Evg/AZlk2ZJNu3OgyNjWGxIIuShJltHIpfahgT+vQ+Gm7a1f9mUZHSGVtUBLZ5fUEaLVaY5ND2vf2TKE7lDH5X6SwjEtiHuX9Y+JgFon8Ogxcz1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P8F296cM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8933BC2BBFC; Tue, 7 May 2024 21:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715116091; bh=r5oe1vkus2mJ8VOrgZSUKhQsffL0l19+uK5j58WulmA=; h=From:To:Cc:Subject:Date:From; b=P8F296cM2OZtZAxfLS5Ogn1h17YB/yHng2rofbQLr9r9YQZbjID9Tr8kgwdn/1d8f KWeTSP1zFiwXnl/Y5y2xJCLObbaAgJfKul6k4sB5Cz412sXHLBwCNQ3cksEAyRJFWH /mUkugQdqA1yb3ycjVs5fw6eQA90NMljzApy9qoQKr2HSRTFdXBSZ40vvCzJ3Zh8hl JdT64AC6ZHHfAILBSb1EmVeNb6noVP6vxGVyZpcuSgiost9PYy1VbfLVKOd5Vr3E1H 82MqMmzPW0bp/NzTQlMhW1sCf96fCG1wsQMLn5l00JZe81XrfRFFeBPGRyxB7KNxJx DULHqiyomjGyA== From: Stephen Boyd To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Abel Vesa , Johan Hovold , Markus Elfring , "Ricardo B. Marliere" , Vamshi Gajjela , AngeloGioacchino Del Regno , David Collins , Dmitry Baryshkov , Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH 00/12] SPMI patches for the merge window Date: Tue, 7 May 2024 14:07:37 -0700 Message-ID: <20240507210809.3479953-1-sboyd@kernel.org> X-Mailer: git-send-email 2.45.0.rc1.225.g2a3ae87e7f-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Here's a stack of SPMI patches for the next merge window. The main chunk consists of adding support for multi bus SPMI controllers found on newer Qualcomm SoCs. Beyond that there's some cleanups in the bindings and code along with a non-critical fix to avoid an exit path ida bug. Abel Vesa (7): dt-bindings: spmi: Add X1E80100 SPMI PMIC ARB schema dt-bindings: spmi: Deprecate qcom,bus-id spmi: pmic-arb: Fix some compile warnings about members not being described spmi: pmic-arb: Make the APID init a version operation spmi: pmic-arb: Make core resources acquiring a version operation spmi: pmic-arb: Register controller for bus instead of arbiter spmi: pmic-arb: Add multi bus support Johan Hovold (2): dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Markus Elfring (1): spmi: pmic-arb: Replace three IS_ERR() calls by null pointer checks in spmi_pmic_arb_probe() Ricardo B. Marliere (1): spmi: make spmi_bus_type const Vamshi Gajjela (1): spmi: hisi-spmi-controller: Do not override device identifier .../spmi/hisilicon,hisi-spmi-controller.yaml | 17 +- .../bindings/spmi/qcom,spmi-pmic-arb.yaml | 1 + .../spmi/qcom,x1e80100-spmi-pmic-arb.yaml | 136 +++ drivers/spmi/hisi-spmi-controller.c | 1 - drivers/spmi/spmi-pmic-arb.c | 980 +++++++++++------- drivers/spmi/spmi.c | 2 +- 6 files changed, 744 insertions(+), 393 deletions(-) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic-arb.yaml Cc: Abel Vesa Cc: Johan Hovold Cc: Markus Elfring Cc: "Ricardo B. Marliere" Cc: Vamshi Gajjela Cc: AngeloGioacchino Del Regno Cc: David Collins Cc: Dmitry Baryshkov Cc: Krzysztof Kozlowski Cc: Neil Armstrong -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git