From patchwork Tue May 16 17:46:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan McDowell X-Patchwork-Id: 13243473 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09F76C77B75 for ; Tue, 16 May 2023 17:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MsR9+fMacEWOfK0Oa0i/aeKI8KWTd9kOSFdoSPcVQh4=; b=ASFusru1RU71Te DIKzXUKaKwuCn5zvN6v6Yr12HQEAXy7zwKZUSqITQPrPZc588KheJYDclB1IpAjIo3tJST+7RP1Tp wkcmjKj401fYau03A6C1gDcHv5I3SEY6RR4DykzI7Yepc6Y9X3job53XZhSHhCxIS+GjkypATa9KJ QoMCL+SJo5Y9kT5UelV92zH7cBUW47Qr9ujJxt4y498RvjaDzol79mbN9a3BaZ7Brl2kR9xltrWyn Lh/4Q5r3WSENgBZofe380EFggvQbYFdopH5Ou4uvCaMHLdQ74PNJbhZuhNWyYxfFEt9CDqiKxFa2u jd4xWWX5/jMDNL2c+KQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyylY-006fjM-2l; Tue, 16 May 2023 17:47:16 +0000 Received: from the.earth.li ([2a00:1098:86:4d:c0ff:ee:15:900d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyylV-006fhK-2m for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 17:47:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+jmwZ/VQPKLzXqOASuQptTiU2AfHtoEzL3jUEy1Vj6w=; b=Y5ulmajI5rjxBoJ2o1WiWxvcmQ 5Y6FtHAZG+Jp0o3S4nRPUrFbwWPon1WB1tL0E1eDUcin0/nMILlYdQqzIDno6kAB67Y26WPh7qMph 6SmxMNjxKDjVq2xnXotIa5C4e5Ij3TPSpErqTb9IvW9HmUasx9AE2a5OhIn0NCMbO5xzVVoDzn01f tLBP2kcILngvV6MaMHSf6HodAR3JP2lURXjgrGBbyCVOObLU26sFt9ftRQI0WVI4OUWOZ3fx9Q2Mv 1UgHjAame9umTP/5DSx2xS/xssugcDtAf/VfP6H1S9Nzmr4s5/1Lw+nizACpH1FJBnTLeG4jcNHgd 0HRMWNvA==; Received: from [2001:4d48:ad59:1403::16a3] (helo=earth.li) by the.earth.li with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pyylJ-00GMpP-9P; Tue, 16 May 2023 18:47:01 +0100 Date: Tue, 16 May 2023 18:46:55 +0100 From: Jonathan McDowell To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Linus Walleij , Bartosz Golaszewski , Conor Dooley , andy.shevchenko@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v3 0/5] Minor device-tree additions for C.H.I.P Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_104713_980236_DAEA8785 X-CRM114-Status: GOOD ( 13.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This small patch series adds some improvements for the C.H.I.P DTS, enabling bluetooth, exporting the PMIC temperature details via iio-hwmon and finally adding the appropriate base pinmux info for an external MMC card. As a pre-requisite for the Bluetooth it also adds support to the AXP209 driver for GPIO3, which is the Bluetooth device wakeup line. v3: - Add Reviewed-By/Acked-Bys - Drop redundant else - Switch to GENMASK/decimal values for GPIO3 function defs v2: - Fix missing ; on bluetooth stanza in DTS - Add device/host wake GPIOs for Bluetooth device - Add omit-if-no-ref on the port E pinmux stanza - Rename axp20x_temp to pmic-temp - Add AXP209 GPIO3 support Jonathan McDowell (5): dt-bindings: gpio: Add GPIO3 for AXP209 GPIO binding schema pinctrl: axp209: Add support for GPIO3 on the AXP209 ARM: dts: sun5i: chip: Enable bluetooth ARM: dts: sun5i: Add port E pinmux settings for mmc2 ARM: dts: axp209: Add iio-hwmon node for internal temperature .../bindings/gpio/x-powers,axp209-gpio.yaml | 1 + arch/arm/boot/dts/axp209.dtsi | 7 ++++ arch/arm/boot/dts/sun5i-r8-chip.dts | 6 +++ arch/arm/boot/dts/sun5i.dtsi | 9 ++++ drivers/pinctrl/pinctrl-axp209.c | 42 +++++++++++++++++++ 5 files changed, 65 insertions(+)