From patchwork Mon Feb 5 09:51:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 196718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp782631dyb; Mon, 5 Feb 2024 02:22:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHijCjHWQ/XgHQTOIRgUukp7PdyqOUOXu2LXkCruq2SVkKyiJekF+SVkkXMqIIPYX+kYK6P X-Received: by 2002:a6b:ec06:0:b0:7c3:e5d4:27a1 with SMTP id c6-20020a6bec06000000b007c3e5d427a1mr786129ioh.21.1707128569619; Mon, 05 Feb 2024 02:22:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707128569; cv=pass; d=google.com; s=arc-20160816; b=HLxuCt0++Hi/VGC839KaWPPGmSb5u27Ds85YdCLhzStsTQl7Jd2ecTRTMGTFiFiqCT IrDu9956A11r2gBhwslXDFzmPJjp6bSNBT1vIlWmxyJ6Z/qkbe+EwUYDe8zXL8Jo3vYc VmVUxAMtaQjTf6RE5nfZwV+bioIwgKG0NcEPd9WKtu9Mn15tHHD0syOccaAqhi6CrUTY VJkFZJiOiENVtOp/pvBK54/oFSd7HXiMRMkuJF57QNLj0xLls6rHqO/9ihx2w4xRtraQ 6wj7VOkrmB8EBzcG7WWYHX1uqY56LbXXkvuLxo6IxadMfR1BxeLaZFJncbs2NImIlhQ7 qLBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=hcJNhUjayAUsM5eRFTlrFt+tY9e56nsFDm4dq82UCu4=; fh=ydo/E1+oyA8Ay1JQWJLos4Vx8NB+ynEUROIxVQ34ZyY=; b=MjEt3IWX9gCWjEtGx3I2Dt9ew9RRyTlemjuFcGidNN0u5gX3m4hoP4Ytv4zMWhJVM4 hBUDA7LPGKBUhhgnmjBT+HXxn9yo4BgOFeEtL+K+bA5t3Zfa5PQ3ShS58Ly7i3BCn+t0 0P3bT3+2ElwbOnvHoThm+pq/jhD4LZIvq6+oWDESoFcra9YOmaKEXzxISrmR40xle1Ze 7F+Rz46f6rKIE9tipBbCLSZAtUTGdwhEfnTFCtAWIVBC2bN5enTVoLWQvGLXBYrZ9dpt SedEZASru6yPswgOVquqeoTqeV6vcS+aj2nKSwpUsHFuWMLb5FopgBUAZI84DM5Y9Z2K 1IIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=32YrcUlW; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52347-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52347-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=1; AJvYcCUSX4rKiQpW+9x8fg5iGO6kDzUi9dCqx4WwnucQTvn2vCEq242IvBvPvn5hUt9pzrkZqgK93dxJtCbaImLkNi5DLoHlaw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u18-20020a63df12000000b005ce02d98991si5623464pgg.875.2024.02.05.02.22.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 02:22:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52347-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=32YrcUlW; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52347-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52347-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1FB0928C3F4 for ; Mon, 5 Feb 2024 09:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC5FF14265; Mon, 5 Feb 2024 09:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="32YrcUlW" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55E3C12E63 for ; Mon, 5 Feb 2024 09:51:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126707; cv=none; b=uoaVY0jdOSqXLHZmZiIVBXf2Wde9zJqhcLeEcCQJvonxOwZMR75h30D7MBclT4gOQXO8LAWm2uMrxErHf58T0lN3F4w6VCxxodJrYHmhkh35dTiznbMPL+EDvIheYJwk/e5gfDt+mfWoyuxWh2VXAREUug9i/FvGRQ6LX37wxxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126707; c=relaxed/simple; bh=U0lCGqAiVZ0MUuOj/Ntn5VO2EyqHJ4nwABWlgulqCiY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p0JyVtWI8HnuKwjyy9Pao8dj0F2Wf4r2UY+WtLT78727Q5AHCnL9qyJ4ZhG0g5vy9pYoU0K7HGWL8suLVeaRtQfndz8TNDQT2v/06iOoeoI+UyXPM3LQeFSPwY83ZTvGgM/xIkXTTJ/YkrifLe0sbrChWvN7UH13stIhzZUhtbM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=32YrcUlW; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40fccd090c2so18974805e9.0 for ; Mon, 05 Feb 2024 01:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1707126703; x=1707731503; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hcJNhUjayAUsM5eRFTlrFt+tY9e56nsFDm4dq82UCu4=; b=32YrcUlW7Ij3a4VLzs4zZjxYbgKhlWZ3WftLkFRfhM/a+kk1yoInYGfgD5vRc4eEMK 6cN6HLR63yn5Gxboze65U3FVGaQjXO8RTaHM60fgw5ykR+sjyahqqaH6V6ZxTK2L1JEr Gge5QNCmV0dHDCgp/rZAr7l4l+XfSlWCcZryBsjoEyc9fv5sca99d3SrD1BPcFHiUTjN +/sQW6EAZMGKxo4VZqZO3hhyhNu0qKLMAgjepQuLcZzP8MorDQ4Jlyw0mQa9CLXlEUXq zPI9GS+hBMgSsxxmlC8txKIXrdLkvxe16Tni78ZWEjAfCxhLvT7FFm6BaU9mWdd6NsLo AE7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126703; x=1707731503; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hcJNhUjayAUsM5eRFTlrFt+tY9e56nsFDm4dq82UCu4=; b=jNnn28zDVvPEKD/8+hkbsU7uJWLp6W5W1W+7LFwSmQ8Xbfb5Efc8sZReys81gMwghg UG58akRE0sbtFDM5gKaCM22lNx8up0wmQ7GkgnRIR23/wMphRuKhAIrCJW1B5+ds8Ksk ZLjccgnLorQWT2yiPW1FuZGJGvcVtmcXX8jzv5FrqgS2liABLpaI7EQun05zDIuPozec luCMfLqv9/zeEtGPo1UrN9CZBdNRWXyKt9tcVXkG801hRko5BXb3ICe5cp0e3UQ7hheJ 8bvYzen0Id407PuVujdoJVXfilXamKUHkhmUuXmENoP3Kd5yIeDK1e1rIMDjSNie3JmK Hi4A== X-Gm-Message-State: AOJu0Yy8NtbWf515B8asdT7eMcDwSp4aAKG//fMHOmBDlpFsl4xiofLM WVLm0ZOjrGKWich1uvKCrJ42ekMEyMRRHzdtWn/dt67xwrV+4u7nKHRCuBbi5Ww8jlgYRIdQRki b/aU= X-Received: by 2002:adf:f24c:0:b0:33b:1eba:e508 with SMTP id b12-20020adff24c000000b0033b1ebae508mr4972081wrp.71.1707126702772; Mon, 05 Feb 2024 01:51:42 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXc9+1NB88U+T/6dlXjXGsP33rUvOvn6ogYbLwqcOgZkYaZW/vifSBP0GN7opXWwfpPYIy0RDQSpRu2C9wzMjuQjDWlWpQQ0NZKGx4A0k+lns3zvhbXeTQ2n2uQp01gy3drOt3+CtDJmT8rEEQPhenuvBjv1nmPj+UgTpjF4ppWWlKvOqTvnQuCg8dtdQRfKHkRivBriLpo/ESwfwnLLKNC+6j1sIH2fjlWATZ2PDCy65cWMSI1vODG4+5fJLi+YzuAOC31LUCnvZMROxcs2lSvIY/HnqKymNaKw3ZomrMRluSd5SvCiJwAmUttuXcGsc8YBshM2A90A/Dtyc2OmHRJdoi2v8TvjLZ/MlHI91t/lcVyVcJhyIEnYmbCkCy3/9Y09K1NmzObwj3IfUj851G3HGwxFN1KYXuvhmhrjhomurljVq5ygz6iJVYlb/HRgi1/kwoft7Dfk40hQ/RE+LJg5XX+S76XuKRevTGPpfGa29MTH1SGf1Jo9VJ28VV9/bIBKIZK4p0lxZIeAuA457SspAsL Received: from otso.luca.vpn.lucaweiss.eu ([2a02:a03f:6aef:6800:2f37:ce90:b91c:e85a]) by smtp.gmail.com with ESMTPSA id n12-20020a5d400c000000b0033b3c2e73e2sm2278283wrp.113.2024.02.05.01.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:51:41 -0800 (PST) From: Luca Weiss Date: Mon, 05 Feb 2024 10:51:38 +0100 Subject: [PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pbs to SPMI device types Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240205-pmi632-ppg-v1-1-e236c95a2099@fairphone.com> References: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> In-Reply-To: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Catalin Marinas , Will Deacon Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Luca Weiss X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790054046872726400 X-GMAIL-MSGID: 1790054046872726400 Add the PBS (Programmable Boot Sequencer) to the list of devices. Signed-off-by: Luca Weiss Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 8103fb61a16c..b7f01cbb8fff 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -160,6 +160,10 @@ patternProperties: type: object $ref: /schemas/nvmem/qcom,spmi-sdam.yaml# + "^pbs@[0-9a-f]+$": + type: object + $ref: /schemas/soc/qcom/qcom,pbs.yaml# + "phy@[0-9a-f]+$": type: object $ref: /schemas/phy/qcom,snps-eusb2-repeater.yaml# From patchwork Mon Feb 5 09:51:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 196705 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp770259dyb; Mon, 5 Feb 2024 01:52:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEG4AQvyRBfSnIVyF9tqVHtsmTtVRHlHlgcukEKA2UBHUNo/lPC3Li8+hLfHA9/cgTxvemT X-Received: by 2002:a17:906:3c13:b0:a35:7438:113f with SMTP id h19-20020a1709063c1300b00a357438113fmr8181165ejg.49.1707126778298; Mon, 05 Feb 2024 01:52:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707126778; cv=pass; d=google.com; s=arc-20160816; b=arjWDua4iwHmFa2OZpAa6FzZqgAdOYqSNldirrCJpFsBcQ/TPS7dobDtTyH9lfPfrR 2yVmWZYKW71KYAL+At80N7yyGE+oUXBHBrpJTjyYWBBNTlTmM0oEM8Iy924MebbykCSP nz/1z/ApkcENnJLyjNBokMBN7RrzjPE1K8NfUmU/PqLYMrZ9uD3yhKygviqvICO2MFcY Jtq6BLph2FXMqdSvxHGMzze1Lr4dWJOy9c1/KQj0N1chWBq1xURr7IRTqjIu0XQo2oz+ /aqTf+ZBNwD4xlgwfsvlisXTk6MbjE/E60i61pKCgl2WDBc5T5wPhIqaXLV6Ev3COBDc C3/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=hHaHZotC246BZzqrce6ngZLliQyoyTygfMXxTOkSCN4=; fh=pI9bvTBadG/G9SuZGvVUsrbj9oLHf2aYnDMDgnx9ByE=; b=oioomu+xtYZPn+C6Y64tQQHo6eCo4IK9aQg2wXL1ui5ISap8eZExR4D4pfmYD/X6s6 y8LdceWFOuzJgKjNZ0yjFxBE2Pwj6sIqrfrhcJhZLmTYZuXE4c0Fq0kQFFBQjlwxKWwC OtibufjbMmXYS1F07yOIc09X0VV8qNYMjjS6HWCjMkHO49zDPZxIS9LKiB+72xfSgIyn C27RWjxFjhmBM28iBRCvLmZ4QgAMZVxiDHiwekLCgUj7JjdqqTowpcup1zfZK6ITWBxA 1XBQBf/TG8LC1Myxsh5sXMMnaJMS7NS6qgHX5eIU8GeafJga+pDZ8qZwCsujd9t0/Waz 0Z2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=EED3qQBk; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52348-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52348-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=1; AJvYcCXCNXbcNyclQJqqB8j14ZpshW8+OvTN0vDbWPD0CvBEPVWWu5VGFmXkJAm6LMRLkDO4mcL79/dE+KjdzbZ2MUNpmSTYQg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k17-20020a170906055100b00a36fb2b3831si3635716eja.284.2024.02.05.01.52.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:52:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52348-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=EED3qQBk; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52348-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52348-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 E32CE1F21D39 for ; Mon, 5 Feb 2024 09:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF8731429B; Mon, 5 Feb 2024 09:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="EED3qQBk" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0033A12B9E for ; Mon, 5 Feb 2024 09:51:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126707; cv=none; b=C+LF91L7uApzlMhxFVRx/L7RWRJAPx7YbTriW2AVbHUTvL0n4b5USxScTicKXBdPJOtKp/6kKK+SbYtvTKqzA5wH8qwDYo1kC8rt3EtVJeflybiVzmfCdhC8jiuRYiX7+yMY1QiTQSd5YZ+9IudxE6Au/nVBTHHW6Ab1wVCcQ6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126707; c=relaxed/simple; bh=9bGVx9AV/PBRbHF4o3RcG6Ql1qXpfJutE075Jdi21Jg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ptr9+tekCxA7nxlN6eREdrQ9eb8Ull8N9EEHG/PXE0N5VqCB6j58ygYbuAyu9lUckQYvZULmRQBvKTmHzNOPCenm0SUpF2JvB1Vf0DH22NHPyA38vwgj5bMZpdFhhF8GmWdPuBxWgYIquoCBVRGtyceJgsAx6dkw0ZI0qkdpllk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=EED3qQBk; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40fd6c24812so8921025e9.3 for ; Mon, 05 Feb 2024 01:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1707126704; x=1707731504; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hHaHZotC246BZzqrce6ngZLliQyoyTygfMXxTOkSCN4=; b=EED3qQBkFDhjaHlZjm2D8ZJXfBRWMBpBUqdsxX6CV5ZjiS9lYZxhIo8vKxNR9E8fC7 kNBcpUIFBPOtWD2oQpXb5vslUNFlNYbGVxuOJ7wIC7bsBqjWvOGyz5KZhRWjoVuV1jHL Ku+BNXDmmSJGTM6ygD4v2JNen0Npts04anQCptktkyn0i0n5uYIerfXruo1mSFFkv8hM rpwIVhoAccTQaxTaat+YWYIwDF61dh4AjukNzfpM9lDm+oMD975eocFsZiyhj4CxAG4V Ri9dxG+HfOAiWOP6w0mVnVnyMvv7xGSaM73cgQ8/44fWp/HzMZyap6NeYXzajdNUV6sY 42Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126704; x=1707731504; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hHaHZotC246BZzqrce6ngZLliQyoyTygfMXxTOkSCN4=; b=FrMQtSHCmhEfhx21YSLwZQMh1HI8uzUnLgy0jfGC/yDO4fYWGqo/tZiyMZtsn4zEJF bpC7R9NAnnqBQ4i+dUAbVuPnu0GOZNIAjT5IaQxRlWDWlB2j+Vi1lg4zMbwri8oWZKLW 0EU62QoymSdCl95UKqU0ICfWLaJ5sUHhmwGUXIu+BQTyqETKKx2vOnZT41m3tOwafhku 7NCLpwUDnCapH6Bre5yW8CFE/16G1eCP/KOCUALLXCdcW/73XjsMwhVvqnjvfqsojLgz 8QJiuqcrG+29GTsF6PJm/Il7/FVA5tKFSR+Jvz1c3T4kJnhyK4EdcCm4/AFHPta1WQth MDzA== X-Gm-Message-State: AOJu0YxABH5zCKBXP4aqMq/IxgmEHzl1mPAiJNdVOX7VCpfwJ9L3vTxp 8JI3GurWHLvHPhRnLMhYGvIqAETUCENCskR6/tCric2VNAdnJ4m+u8xjZYLhpQ4UL6TM3ou03Gu 6NyM= X-Received: by 2002:adf:db47:0:b0:33b:216d:70bc with SMTP id f7-20020adfdb47000000b0033b216d70bcmr5276935wrj.42.1707126704029; Mon, 05 Feb 2024 01:51:44 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVaac0Yl5gzH95FpnSRi+ll8mWpP8bKka43VgBuw3wvCBJzVlRN9fABjAwClnEvSy1kia1G3FnFbuvR4IrCMXCyukl4q/JobVe3RsQhmZHErU1JVspINy4F9DpPuYdjdpmymzC3hvG3Ontwa+nmPpYkKd/KtMsvV9gnjVQZ9mHh6zVTQ2WkDWbIY2B9NQrgIIarj5XMnDD9JsAF5PSkd0k7IDEsPv9t9nQCYcDFr4TpnoMyjf7w0Nb6eqqwEZBruRiYzZBiVZ+XBSFiLsvA+CaWaB5/DzYrTyGvSnEfyaYKCSFdU7oJNEhMa7hVr3QB7bdH7cvk1syvqGHtdCWidMddBC1qnQYyMsHXGrqWilY1bfxVYQv6EQhwQuWTYkDcdRHqDBgJVmItRztKlTClUKALsv2Jz+zu7mbU9ir/21hOnTkIgbQyvuCnNsS8ru3ls+akLwiJNTNa3Ct7ofkhq3uGQ6eDTQ0iQutUwPeuj3srXbtS0EulMjWW8MtZRbnWMGd4qAum7EtjXxeT34VeCOCMiUW+ Received: from otso.luca.vpn.lucaweiss.eu ([2a02:a03f:6aef:6800:2f37:ce90:b91c:e85a]) by smtp.gmail.com with ESMTPSA id n12-20020a5d400c000000b0033b3c2e73e2sm2278283wrp.113.2024.02.05.01.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:51:43 -0800 (PST) From: Luca Weiss Date: Mon, 05 Feb 2024 10:51:39 +0100 Subject: [PATCH 2/3] arm64: dts: qcom: pmi632: Add PBS client and use in LPG node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240205-pmi632-ppg-v1-2-e236c95a2099@fairphone.com> References: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> In-Reply-To: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Catalin Marinas , Will Deacon Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Luca Weiss X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790052168574920625 X-GMAIL-MSGID: 1790052168574920625 With SDAM + PBS the LPG driver can configure the LED pattern in hardware. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pmi632.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi index 4eb79e0ce40a..d2bb49a619d7 100644 --- a/arch/arm64/boot/dts/qcom/pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi @@ -127,6 +127,11 @@ pmi632_adc_tm: adc-tm@3500 { status = "disabled"; }; + pmi632_pbs_client3: pbs@7400 { + compatible = "qcom,pmi632-pbs", "qcom,pbs"; + reg = <0x7400>; + }; + pmi632_sdam_7: nvram@b600 { compatible = "qcom,spmi-sdam"; reg = <0xb600>; @@ -155,6 +160,10 @@ pmic@3 { pmi632_lpg: pwm { compatible = "qcom,pmi632-lpg"; + nvmem = <&pmi632_sdam_7>; + nvmem-names = "lpg_chan_sdam"; + qcom,pbs = <&pmi632_pbs_client3>; + #address-cells = <1>; #size-cells = <0>; #pwm-cells = <2>; From patchwork Mon Feb 5 09:51:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 196706 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp770312dyb; Mon, 5 Feb 2024 01:53:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyxEaLWZKJPLoM5TBM8xmOCtePn1RzuDTP/OxvCdt3+F7wlso2XSe8nCbCDEtbeg0RhQx/ X-Received: by 2002:ac8:6b19:0:b0:42c:2dbb:399e with SMTP id w25-20020ac86b19000000b0042c2dbb399emr199900qts.52.1707126785747; Mon, 05 Feb 2024 01:53:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707126785; cv=pass; d=google.com; s=arc-20160816; b=dTByj0dMT2FeNvHUze3YLaLsxyfeSye5DsOO/sYP/1Bowd+8o+XOzmg3lmNfSzidVM sF+8W+X8DJGncDzirEXxOk53KCdpI9zjT2VI1U5aLrwt4lJ0PHp1ui1lMEWczbkr172V SO4tSK5qOJQ6VF83mtheQpDkzewmuP6Iv2nKVSAwkpOG2YGaAEQw7v8BjMK3btDOi0s8 eHzFwx6twXmiGg+zlPzaWafzLuZkLg6vJlmdPxv7EnETyFUJeIRr45RK88FszEPYkf4B sGIlGo2MDEOf3SIYO/mhPC6u3UqqYmqsye686Q3Hp/gZC/D+IHS1+oHaLxOt4Jfkg0ps 9oqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=IbKVC/6rW/A9zlEdDawOO5GD/uHrSUeNWUBFrySamCY=; fh=OyNRUSDy4dwjB8qj6quol5Udwwdqz7YFkOpDAnbA+S0=; b=DRYcGmK6NBHZohuhwegj1vCxi5zgDKWMENfxSxJSDsrfvEKsSYk1pZ4qAMnRwrAE5+ Vpfml48YOmXlJhkYwt/K+UyhGz1UJsWryVukI1EGlC3zK6QqaJxhHac+X/XaaKWYgeMf UzmG3CmICmcLuC3Ar484axArid2nwXHerq2p83DsAltk5O7rZBoZGo0r+8wWk8MD6Wdm vbT//qlCSEj13NxbU5FVGeQ/Y5SDsa2Mk0I1MuAVRHyvS2VD7oS4aGARqy2A//C5kPj0 YQmESNKG5RWntGsZrf922onjn0eOdm6OFX9RTR7siLtmMkptgOoKxf+sEBvLb2b/jWpe 7m/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=SP27NyN1; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52349-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52349-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=1; AJvYcCW1V3CNa3lE7dR9w9UB7wCdPIELB6JWTPim7XJWSujYM7To0VtUZn8Gn1SI71yG8AJ9ADNyzY9HxVNlBAIuqRd0QPktng== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t12-20020a05622a148c00b0042c2cc19ea2si317286qtx.267.2024.02.05.01.53.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:53:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52349-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=SP27NyN1; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-52349-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52349-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B05C1C208E4 for ; Mon, 5 Feb 2024 09:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6839E14AA8; Mon, 5 Feb 2024 09:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="SP27NyN1" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB939134A5 for ; Mon, 5 Feb 2024 09:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126708; cv=none; b=q2PQXgP3qtsVzlbNx+TEQ0zvGJ0EIv4zsCm2rSMhG1HhWPSRFNKkhs5zHhCa+sS2DgtysF1m7uFyIK/B//1Kw/H0qLCbF8GSnbeG91vmJ22yyLac8aAmaRWnEo7aBhxSjyEudV5QYhqF7zSp9OLe7uHYCut/BbDWHwPGghsSKmg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126708; c=relaxed/simple; bh=ty8WN63mt50YPdGFaXjaf2SluhPVzZf3WFRAX94nEFI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qrG1eFUaNqzdccv1UBxvn7fuPD7CpiSjdqPApcdO3lhxSOVp1/sDKi3dgzzxZ+zDs2tSCl3kl97rb4oS1Eg0fufoAiemY1+Qwnd9VWp6c8SjKKGsp9BRZrdBLKMcMlLU12NyOAoJ5NVrMPAYi6OKmtH15xOmIxYO3G0y50GiprU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=SP27NyN1; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-3394ca0c874so2921192f8f.2 for ; Mon, 05 Feb 2024 01:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1707126705; x=1707731505; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=IbKVC/6rW/A9zlEdDawOO5GD/uHrSUeNWUBFrySamCY=; b=SP27NyN1dQ2HZM+rjdr8ZIPweBroYzQKwsLZwBdQrtLKyjsW5LeIdQ6z07XCOCPk7N Blq6CQ2IEN3h5QD0G8NYLHVuhcfDGoiAsnYtWv0pX3IALAbICHdqKVz4O0bZEjkVTt/6 1gjZbo4FNd8DwNXKrrTry7bLoX9eb+o5FK0bJdHab6RfVRWMfdrtng2it0ZnlXI1SGA5 jweALgOUqp8X/3Sl/jJm6PcplNmsL7b+SdyQi8IMBkH6JAWhlNFE71OI+8si6uf4H/aZ lpf9Vzs7lxoDSV8La9gHjsNzn6fa3X3xBrkw+cHBJ/68k9fUhAjw29qJwwiVhfAl6lTy NVgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126705; x=1707731505; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IbKVC/6rW/A9zlEdDawOO5GD/uHrSUeNWUBFrySamCY=; b=elVAa2gDEIdHrD2b2nB3C/ZNgbBNWR2/4/kRzXrFolPgpdcTB60XaCi6i7u7rRayms 2n9Q70y43EJN97/RFKX+0BmOtFPkYCKPeES6jXfisMySG+Isyyl38JfmVLLbhT+WYf0l nI/fVkdmzrYItw8OkGfxnn/q/fO5owwS7YVDO/whU7SYhI9bUyGBJBULWeO4KaSv9dJr 2C2a8JJXSR8s/XcEmiwrjye6fwDyPLw29uvttNA5xsynScmdz6eL6KXPVw4mrdKcdEbI q2YCC24ZuGbl6lFX6cgMRduw+5bLYyFojFY7abOWunyxhZ88kQMqiqiGg9Ru4Ui0U0W0 Y1og== X-Gm-Message-State: AOJu0Ywc2XesBjIAHF8BxGjM6rbhhIyOgP8ksna1rQdOlno5yWvs/idf lw1kjvUiF58Vb492pY4ZCU5arBiqaalCqN9qxeEIsWwWhN5hSpfRyeCnKhDRUJ59uKJRZJppBfY dMB0= X-Received: by 2002:a5d:6308:0:b0:33b:37f4:f42 with SMTP id i8-20020a5d6308000000b0033b37f40f42mr2781964wru.2.1707126704768; Mon, 05 Feb 2024 01:51:44 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX9WYLA8nfuZrQJNOxBrP9FW8e+9J4Lc9IoeFPDHvP7OeMiwgKTf7t8ZJw0ugDnAU1diPxGgTEbXoiqJu9VdGquxBrJY28ivS+rr2o5/5aLIuoY1Yu02ghzX0Rkted2SIHHYlkDbnkB0BBkj6aLLZKEpHgDHS6GRfI610IBjDu8HZh92oQiGvVhs1Z+sX+xRSme1yzFN/7J7xcBUq/L+LF3Neng6xtiMSdhOdfUi8dbBBEy3wQg2NhJWLH6o/33GuSfr2AiHPxVCcbXikOGFlT1PJPP9FimV67AJbfDVuLJ/vFs9WSHntX06M7YBGQ0Q1aqBIQrIgLdpcX93l+olI/aOlgpGg1zme+/cdiMUJal/hSyiG34jwf/gPscsm+dnyfjDuWqenC8RkIAvPiu1FA2NY2dj+e43g1bFQYKlU02OhvgGslqrLAqJ53N0CRu5eAuEl8REvl1tCKyFnVVts07Jx57kvkWRtQLbsMliacwGBpoAne25XG2mL0X0mrQB2d84bsBiOSue3+ZJtwFtjly4z4x Received: from otso.luca.vpn.lucaweiss.eu ([2a02:a03f:6aef:6800:2f37:ce90:b91c:e85a]) by smtp.gmail.com with ESMTPSA id n12-20020a5d400c000000b0033b3c2e73e2sm2278283wrp.113.2024.02.05.01.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:51:44 -0800 (PST) From: Luca Weiss Date: Mon, 05 Feb 2024 10:51:40 +0100 Subject: [PATCH 3/3] arm64: defconfig: Enable QCOM PBS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240205-pmi632-ppg-v1-3-e236c95a2099@fairphone.com> References: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> In-Reply-To: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> To: Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Catalin Marinas , Will Deacon Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Luca Weiss X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790052176356291702 X-GMAIL-MSGID: 1790052176356291702 Enable the PBS driver used on e.g. PMI632. Signed-off-by: Luca Weiss --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index cfa3e00def09..e92a5fd9f660 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1375,6 +1375,7 @@ CONFIG_QCOM_STATS=m CONFIG_QCOM_WCNSS_CTRL=m CONFIG_QCOM_APR=m CONFIG_QCOM_ICC_BWMON=m +CONFIG_QCOM_PBS=m CONFIG_ARCH_R8A77995=y CONFIG_ARCH_R8A77990=y CONFIG_ARCH_R8A77951=y