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: 9414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp604398vqo; Tue, 16 May 2023 10:53:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Qpp/tyd8RnG0H9xqs5qZe/KlZLloLvS8xJf8950ZNZofUjdXcrHag5qbhwIngqlfM3jWa X-Received: by 2002:a17:902:d2d2:b0:1ac:b4db:6a62 with SMTP id n18-20020a170902d2d200b001acb4db6a62mr28451966plc.65.1684259632645; Tue, 16 May 2023 10:53:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684259632; cv=none; d=google.com; s=arc-20160816; b=QCPY4rnqstdLJbvg/xDgHas7vOQVqHEguumZraD9IIdp8rivB3v9I8msY8/F26+3HN fBbKkx0Up8e2hx37SY704I4zBtmsuaiw8mKQPDQDrQhculy+9wGiIrGha1+vDv8Ztf8e U4Fm29J6L2K8KD4jA++oXvWQXodCSFYL8EabSThAgYIqPpIP7i6LSX2kdSsU1tQ4kYkQ Rkk7f01bKT3rZpUe5xvK+yvlzy61x/F+5Kve1DvYNyEzztjmOSQDsXsX0Uutokg1JBxn YFJcoZvx8SquZlohPcSSy3Uqqi1r1skqtH8NQvpAR/ASuodpVJW1tD+0ZgmL9vn2f4jE AGqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+jmwZ/VQPKLzXqOASuQptTiU2AfHtoEzL3jUEy1Vj6w=; b=WTKs66KuvMQCglAMsze0KTaQwLJ2dtFVa6W/jF3IzNBIOFpnpxfbU+bnyGSKpNW9Mf S/OA6VlUijkEsKuZEFhAZqYAo0S/oz43zGx6nkacD4TEYWJlCfci3XxcpgQcKja7HINp ro42aqCsZLWS/XKrnSldahALqal09eOdIp2l9HAmlyAIFfPjmZRgNZe6OY8BItMAPmx5 0zOEBu4jIRIfjuJUXondeHACyockjj3EDtJXD3Oqi6N0NpJgkZ2jIy0jXsGHf/wdWa7x lmvSQcqQ0j8QpuviwMmti1fH5G7927l1qLiF6fTrKbTN0F3cEJ5p7yqDGznbNkUNap0M 7uJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=Y5ulmajI; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170902eccd00b001ac5896c746si20380523plh.329.2023.05.16.10.53.37; Tue, 16 May 2023 10:53:52 -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=fail header.i=@earth.li header.s=the header.b=Y5ulmajI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbjEPRrX (ORCPT + 99 others); Tue, 16 May 2023 13:47:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbjEPRrU (ORCPT ); Tue, 16 May 2023 13:47:20 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FA981BD9; Tue, 16 May 2023 10:47:18 -0700 (PDT) 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-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, T_SCC_BODY_TEXT_LINE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763265419178616589?= X-GMAIL-MSGID: =?utf-8?q?1766074228036564957?= 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(+)