From patchwork Wed May 10 12:00: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: 9144 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3590483vqo; Wed, 10 May 2023 05:41:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ywPJE9FhqUg3yfhK6RN86XjnPr8Ra+ycIzQHSmakQTCLIPpdXPQyufnqOC+qnrJCRdBn1 X-Received: by 2002:a05:6a00:a19:b0:625:efa4:4c01 with SMTP id p25-20020a056a000a1900b00625efa44c01mr23344062pfh.3.1683722498274; Wed, 10 May 2023 05:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683722498; cv=none; d=google.com; s=arc-20160816; b=AssyO44g5sXxpjwCcrrO616gHXui5dz1e94lGHgx1dXs0foq1YrtUtCEWk0iMNkYBI d9BlH6nMx4EPPqjtoV8EaDdvxmDJmfDW6+goJFIAN5FjMZFRL0lpajQCOKPA17g0Wy1L 5tTXQVn2f1No+EQ1CpNx22XoKUK9lSzTknHJLfLoL5WgmK4SE29XLqvb3Lx9JjtFJ+nq vdETzf/fli9RnxgwCiIGHDGvFWzEji2oCb5jodddesAXCzpft/kU14urs9Id014l+gy4 Q+pKm/kAu6cuOjugHb9i5LETaRy6dA8bBVOEd2ZvfEma/yIfAoFjA7KwxtCyG/JGWQfZ UDNA== 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=qL5OwOHKWsGEJz5LBeBEW7MkLSt6oAOQjlwwT1NVmAE=; b=qZq0uB5CadMaaCT8/g+ilDoj/FBqWacW0yg6GCzHnPUwYJmmC+pxrpnhSn1b5tYLwx BH0iq19UZqpNwzrYD4RuionB3tztTa5hVKOBRDMm+9n/zffsgf487hATI1oRoKGYCBaQ RoRF7CnamW0ExVd2oE1KgBvU1xlmIeR0KzRS46vnV/KJrqFfWpa35o6maQnBRYG+A91S pm+qexbJQj6E8CUhfnCMP83QAGTOZK7siKFKxchA8hScgA5s6KajnXFInG7A58F9N9kW FyDM1zkHzvpNGx8omaG/GIHffnQl2opQnI3FpiVZORdEZyG3MgOUrU2eXhLHclKHrz6z iOwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=IXJjsg74; 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 w20-20020a63af14000000b0051936c543c8si4157796pge.212.2023.05.10.05.41.25; Wed, 10 May 2023 05:41:38 -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=IXJjsg74; 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 S237120AbjEJMhC (ORCPT + 99 others); Wed, 10 May 2023 08:37:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237098AbjEJMgf (ORCPT ); Wed, 10 May 2023 08:36:35 -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 5B1FEAD22; Wed, 10 May 2023 05:36:19 -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=qL5OwOHKWsGEJz5LBeBEW7MkLSt6oAOQjlwwT1NVmAE=; b=IXJjsg74s+hgDNm9yBKSa5Hcyn BKfy08wg9lHyXZBWy0eLO/F9bItUkyLMqeKqlaiSiItJ1L5381VNREpC5S5BkACtUBxGE1OD/aQdl jH899dZGGTz8mWR9YzTko2X7qqY07Uu5JmNG19Cg9zQjfGl0Y4EKu17Njh6+QnGHWaafmHDB0e8E1 akZ/PT8dnbatOo7wgxKXTWnw7YL5pTUz4DqfQ00gsYhiNqOLQlBJW5PAGEvCuvIfmgtsqh4kPcHKp sRmt9571hgXxwyGCuyVC6/azdCAVEdvimaoDD9ATOfnnZPHjgTTvzvgravKkmozIp9fLC5MIxrF6Y 8rT5Jtog==; 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 1pwiVB-007udb-3Z; Wed, 10 May 2023 13:01:01 +0100 Date: Wed, 10 May 2023 13:00:55 +0100 From: Jonathan McDowell To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Linus Walleij , Bartosz Golaszewski , Conor Dooley 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 v2 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?1765511002577843821?= 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. 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(+)