Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3124389rwl; Thu, 13 Apr 2023 16:20:11 -0700 (PDT) X-Google-Smtp-Source: AKy350aJIEHefbBlDIrNYBqOogF0l24k7cuHEU7gbt7uo5Zc3GTRXnzdhQydI1UJ+ImPhLTtEPjG X-Received: by 2002:a05:6a00:2312:b0:63b:4b4e:9ccf with SMTP id h18-20020a056a00231200b0063b4b4e9ccfmr4056177pfh.8.1681428011622; Thu, 13 Apr 2023 16:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681428011; cv=none; d=google.com; s=arc-20160816; b=L7TU71ZNpKodRplJ31ObVgJwm8y3p8xmZ/nQ1cVAxUdxjTOTnbMku3sZjA/wt6rpHm 5h8XNHY+zWszH+x3d3Y2mr4b+RDr9AMIUXK+AcLXG9VP3+DyLUWHSH3C3D6XP5zTWQhX 7yJIR9azH0adG8J8PDLmI59/mxUwLazvarwzzwveLrgfI5HDowZdXbLzskkv6U0frpAx CN1zOJ4giTQ24ssaYd6wcJh/GOqSnZVV7N6OesGewDo8CJrH07afb/atG2NF0w2tWOhy P9ppTYcF6Q41002gHtkwA4wbe2qYI1rODZqll5hRiBkSOooFs4MqBq/z5OuroJRFbFDj D7cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=yhlaruu+xPa6RtD8RTNazB6iq2YJLkbTJJjtXBQUqI0=; b=RxFkj48W3aJR+sgLfkyJdDFkexPfy2g2U5a3rDDdRBXcCjxnI/5SstFilYR1AEk6vE 5VeDnKCVd9CWAnFThh/+s7U3Fiv71fYX7rElhAF/qRor23n05ZPkpE0QGULvZfANxgTR TRMil5A1hYwEJo4B394xib1lSiii8+fEDIC7FEJ25Eda/feEqbdj1ZQdEPaus73NIo0N kOxesyi1SaFk2+WtPJ6kwfVF1hnGZGgliDsTwTBy5sVMSJDynCl+npdzFa1n7FvVmy0e tM+qrkoAscLHmkZUhNIu+7glSKuOb6xk6OBnquJjt/aCnYCFq561A/KuNW6aTRo94K2X NcUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=rdrGTDB8; 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=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a63e804000000b0051b1966e6b6si3123811pgh.521.2023.04.13.16.19.58; Thu, 13 Apr 2023 16:20:11 -0700 (PDT) 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=@z3ntu.xyz header.s=z3ntu header.b=rdrGTDB8; 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=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbjDMXTZ (ORCPT + 99 others); Thu, 13 Apr 2023 19:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjDMXTX (ORCPT ); Thu, 13 Apr 2023 19:19:23 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07158449B; Thu, 13 Apr 2023 16:18:57 -0700 (PDT) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 1630FD07B4; Thu, 13 Apr 2023 23:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1681427893; bh=CRTWj+yIkiq12Ol3HBaiMX1cMs/LluSumeZfXP8P+4U=; h=From:Subject:Date:To:Cc; b=rdrGTDB8DvBZ2oSC07ZXnZqn+HjTQ3DwwUEZq2hsxarn2LFcC92daygpQEVw8H9mO VFb06Cc6zd5pnPB92fKXwKXqUXf2UL4ubAyzzJtOwqoHXlVI8rofiv+Qw5M3hwni+V 9/BdLoVbrx2CCa++9Qhhn3gEZrBoVICWrOeS9QbY= From: Luca Weiss Subject: [PATCH 0/8] Add PMI632 PMIC and RGB LED on sdm632-fairphone-fp3 Date: Fri, 14 Apr 2023 01:17:44 +0200 Message-Id: <20230414-pmi632-v1-0-fe94dc414832@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJiNOGQC/x3NwQqDMAyA4VeRnBetSVXYq4wdoouag7W0IAPx3 Vd3/OGD/4SsyTTDszoh6WHZ9lCifVQwrRIWRfuUBnLEzrce42Y9E3pRx0Sd6NBBwaNkxTFJmNa b9zXXrtnEAs6RbxCTzvb9n17v6/oBWepSi3kAAAA= To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Pavel Machek , Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-iio@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1408; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=CRTWj+yIkiq12Ol3HBaiMX1cMs/LluSumeZfXP8P+4U=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkOI2bAIaCCSnfYMwzpW9XoiSE5rpK0s1oysYuy NLpWHjEBhiJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZDiNmwAKCRBy2EO4nU3X VofBD/9sWBHdLNm2RZU2Onpy9t9Gd6jZy7oYSBwsMTJc5u1mfsWrmQjHU/5Ny8NHPyLC6m1wv1v GyAvAEd/YQlmAPOJZMdxxEIdU3g00Ti+RQEVQTEBlACBJxLYB2aBB5QSkftFz5wzc2akSaXY2bm GBU7OIoW8fTyZiySOdWhSFsmTU+nt2vhrUqmX9rw57LE3DqK72WdsWkStXDbKw69UIABuF4F5t8 ZFe8O7vJYaEMsh3azORJivjJdMt5I34qQ+WnsKTZI0MFd5y1uGD5RY/T8Ol5q18sPHjwhvIfzKQ 9IM0yvEMx64BOcIWXx2WoZFKO4E/XZnv7JtbPAZmnj24Al75ZHjQBdykB4a5hqn6LgVpyqWyvq3 c6YVkGeuQiEHROSnHrVvPCwmw8Ibc54jy40RNyDVKr6M+hGkXG493W+Y+4O8jAe7al81sOTuaEM FnydnkQIixfqDlYQFJ1qf6KkoAhz78zGhNAJjg2Ed/ooM5qi+A1dzOli6DnYGTBKVNeenhBu7Eb 3EmwwQOQNitifGincr1m7zhmlfoly2in1dwE59Sq08Ps5TskG0lWYGIjREq6PTxEM4V1yPfPpDU iyBde1Y5HGTsta9lZnqGC0pKBKf+IXK6GM8tU0YEImgDUWYqNsV4rEjiFn3CKtTScwz2L+2kxia tgfIB/g15aYipsg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the PMI632 PMIC in the spmi-gpio & qcom-lpg driver, add the dtsi for the PMIC and enable the notification LED on fairphone-fp3. Signed-off-by: Luca Weiss --- Luca Weiss (8): dt-bindings: pinctrl: qcom,pmic-gpio: add PMI632 pinctrl: qcom: spmi-gpio: Add PMI632 support dt-bindings: leds: qcom-lpg: Add compatible for PMI632 LPG block leds: qcom-lpg: Add support for PMI632 LPG dt-bindings: iio: adc: qcom,spmi-vadc: Allow 1/16 for pre-scaling dt-bindings: mfd: qcom-spmi-pmic: Add PMI632 compatible arm64: dts: qcom: Add PMI632 PMIC arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED .../bindings/iio/adc/qcom,spmi-vadc.yaml | 2 +- .../devicetree/bindings/leds/leds-qcom-lpg.yaml | 1 + .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + .../bindings/pinctrl/qcom,pmic-gpio.yaml | 2 + arch/arm64/boot/dts/qcom/pmi632.dtsi | 165 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 29 ++++ drivers/leds/rgb/leds-qcom-lpg.c | 15 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 8 files changed, 215 insertions(+), 1 deletion(-) --- base-commit: c83fb1e4acf528c29b0729525cf23544f8121b3d change-id: 20230414-pmi632-4ae03225ae75 Best regards, -- Luca Weiss