From patchwork Mon Feb 5 09:51:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 19923 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp782334dyb; Mon, 5 Feb 2024 02:21:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5ZoZ0SL9deo5ktYmsWJAQd4ofet3LYsPbaAXlY9RXrHnx3dj52X9JuNbNWnWsGXVwIWfI X-Received: by 2002:a05:6358:6e8d:b0:176:2d73:64c2 with SMTP id q13-20020a0563586e8d00b001762d7364c2mr16546236rwm.16.1707128518299; Mon, 05 Feb 2024 02:21:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707128518; cv=pass; d=google.com; s=arc-20160816; b=cFWMu11mUjppWPS7toTK+Nb3PfCL76yiCLqKYZzSZLzM+LSGJ+xG7/wMQ1aDkCjrrI K2D8aYT97XGvkjJ3AAS2hf/g4KzNMjy3Q2BWcPqUfClcNBAaWj7sPNeH0WyJn0ZdA6g3 gab6FH1OMuC9NMKE/4YRhdQGpY/EhooglJE8+hW8NsNIGuGAur7K/OIfVAVmLRTwXsXY 17dFawqBRPz+87/F663MBwJJdyKA16YtuFx/vsQpPCku3Hr1WMyCdyuJX1pjwk7mOJf8 WlLQwZcQ2OFNgijYyapbGY/iB3p3GLaOP08Kn0kPHq9ToOnlJUPw20FVykca/x9ZxC8b dM/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=7MqLMnIRBYQd7R/nZwH9ZxqSodjOOLBq1/JAXOO+J5Y=; fh=iPLiRWPrUlNiiKXPnDKDGI7/JWXk4WYkhcJtiLBePJE=; b=vi6CkB1n7diaPrnvTHsF9aJrhyzGMpN3ytie3UTF+E5XmweLNrcIyJeHlJw40IHKRI VMlTN3lrKkcZdGdPaD4ygMRHBdC18MZ4/bAxUK1+GKhXYWyQH7WJnJTmkScCpQgYDz19 PQx3JUwLSDzlI1H2mpS96KqJizpUw0mzOv+5kVxoLJM86Ogws5Emor4dAGDcW0MGWsLV Emi8qWmJ73yO2vS3JjXKiZ360yEKzmRolFUz5g9b8Y1vSXQ3zTRpzIT2RqALPiCXb9ob KgO7OnO5F32BXkBb8nPXRsY1lIrIvDHnRebHTQHzQOGVlXXIO1s8iocl7BuisloBTv9A Sdkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Tl7VOTlo; 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-52346-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52346-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=1; AJvYcCUIzLplNAqE4VxjOizOrVnr3e1dY4Jk0/zD65Jc8wzyOZKtce9HDFY7qasroMjFeDArUHEnuWNfhCtW9HHG8WCuNtcutA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g2-20020aa79dc2000000b006e0335c3958si2880346pfq.351.2024.02.05.02.21.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 02:21:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52346-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=Tl7VOTlo; 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-52346-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52346-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 CE65C289A63 for ; Mon, 5 Feb 2024 09:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AF7114005; 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="Tl7VOTlo" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 ED38B12E67 for ; Mon, 5 Feb 2024 09:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126706; cv=none; b=nMz5yO92+1o9esHk9cm0HsRUt8DaJ7zK/m4mB3abLOZNrhOUjmNHvEcn3/7hwSRTyiQnI4Noz3mEK0WyXAzyLMnxUULbqnHMOXBzcVORpgoac7l1otP5aLFrsunHOXikSd0uwQJo1yHmQfLtV0nqr7JsAzLH7gef2UKsbR2iEhA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126706; c=relaxed/simple; bh=lhqnaM4mv85+e6ISI7d0OhPBJrI3dKxaikVHcrxkSBk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=bSM+GVwNilRkpDvuvRd8nv/xqUlUdjTUC1AS0+7efK9clkciN8TMLJ1CD89Qqt71zDWmTKez5gWjrTOLwxyPuJqsJQonRgC14YwiG/8mMIx0h2Qwx32jyhsi9vhWpZYW25TvZB3bMLEaVoj4Ci3Q/elQUjVvjp+jPjF+ioMgZGY= 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=Tl7VOTlo; arc=none smtp.client-ip=209.85.128.41 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-f41.google.com with SMTP id 5b1f17b1804b1-40fd6c24812so8920695e9.3 for ; Mon, 05 Feb 2024 01:51:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1707126701; x=1707731501; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=7MqLMnIRBYQd7R/nZwH9ZxqSodjOOLBq1/JAXOO+J5Y=; b=Tl7VOTloh3JhtrFEBJETDI6W07KyA0WwbgNDjKbmKrSs8S3L2sILx07tCjDqHlhdHn e0685Sw6Aeh5YyIbAQsXeolQfgz61ubyAiTMXTi2KzE7ttdjJy4fNmORSBJA9RHgGUDC LzCChhOJxba/+zBIDHcZYOZdfXfCXrIAM2qaB43XzkUoYPqEtYP+tDek5cegUSqSWPPL n0Veq7TPhDTmXxWHoAf5hkb8Knr9LIYlPhwqZAqbkK01CkyIGZcYlh0I2RMHvSAV31fW dTHX+3nvxgOPVcXvOvjBAMeQmaV8bvSKBqgtZZ4g8kCBq9vHF4TEv2KqmH6mdmCjn2uN Hrcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126701; x=1707731501; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7MqLMnIRBYQd7R/nZwH9ZxqSodjOOLBq1/JAXOO+J5Y=; b=N01yl3LrQPLx/ZAuYFLtRmxaxeS82BV1scZAkA2LP+fRdcMSH+YycMDtSzOchfuyL+ dlJyfokpNmCxFVQ7g7D4+nWJbuz7w5MbuS0SRexcAY6v9Vr5cLuu6QYR2pHL8E7STXvZ k1ISF9dduN0WJkhefRk2lfTvxl0V4wpRKI981P4kSOi/EO82kjmNoJ3Wam/Jns/DiNlD SVGUrpUIFL1cSf3hC2FtoyvbwGk3TXtaF/pT/z9+50tWZp7HIJqBAblNtelfTt9XVJ/b qnYhyqBLKm7Xwaf2lWe4Wg2a5+gn/lLOZdtUsLWSATYeRXmevmeRBslNMBFZFwGEbKUV iF6A== X-Gm-Message-State: AOJu0YxwqG/8uq4zPWLRGOzytE0fTrsUlpgw8bToILXVA3Udc0M7rXbz a79PrOP5ioD1ZLBvYU4p4oPtMQ3GbPZh2oMRHmufARUmBMDV6mT5a0Ur/Tz+u85ZgKmfO5fmjN4 TbR0= X-Received: by 2002:a05:600c:468c:b0:40f:dc4e:69e8 with SMTP id p12-20020a05600c468c00b0040fdc4e69e8mr1108853wmo.27.1707126701483; Mon, 05 Feb 2024 01:51:41 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVFzdq9qdEjY7bS1DpVfFS5j4lS08duBC0ToDwYGWb0m8l6H1OAxmT3bU8o+GH2FJl/IHjcdiRzQf9Kw+PEB4N0+MVs6gDZ1tlDICAf36vkDoZb7taKNRAxmYb1Hr272GwwQLxTEpR/rKCpx0qKDRhRkHVbOOCpnBPFq5k6nZf39gPp4EVWWpWmjlvC0qj3tq69U3wjcG2Camsmhg+juSOOpfbIByfgJRHXypHOpo4qCd/QiXnIReAaEqfxXsPII+lSS0vx0ZQwhxastha4n6c0Alj0lQKK8rg60hnZh+rQgmb7MCdPlYTRAYmuo4/8DQJQ3Ptms2PY6OuszDcH8YUlcnAx2MyVjyQp9Vi9xGiTPlNwuEuQTZhP6LQyLdRIi8V+hgQEzBJl0ZJde52DCGxXtreU+IpnFG6Enk17cQfNdWG1oRTAFcJJ4BbGzMDAVmoGzzFIylHEP/8YQT5/uPcohXztejIdZ2TW8drvuSuvabWbuy7bh4hP1PoZbVAfZTLU3Z8wwD5kIj5jWSBZFHqmrgAH 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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:51:41 -0800 (PST) From: Luca Weiss Subject: [PATCH 0/3] Add PPG support for PMI632 LPG dtsi Date: Mon, 05 Feb 2024 10:51:37 +0100 Message-Id: <20240205-pmi632-ppg-v1-0-e236c95a2099@fairphone.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKmvwGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDQ0Nz3YLcTDNjI92CgnTdNMPUtCQTY0MLcyMjJaCGgqLUtMwKsGHRsbW 1AB+PYgNcAAAA 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: 1790053993222169604 X-GMAIL-MSGID: 1790053993222169604 Hook up the PBS & SDAM to the PMI632 LPG so that we can use the hw_pattern for the LEDs. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: mfd: qcom,spmi-pmic: Add pbs to SPMI device types arm64: dts: qcom: pmi632: Add PBS client and use in LPG node arm64: defconfig: Enable QCOM PBS Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++ arch/arm64/boot/dts/qcom/pmi632.dtsi | 9 +++++++++ arch/arm64/configs/defconfig | 1 + 3 files changed, 14 insertions(+) --- base-commit: 1f790ac9c84028d89ef4dbb28ecc5771fc352e25 change-id: 20240117-pmi632-ppg-f1efb4318722 Best regards,