Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp793383rwe; Thu, 25 Aug 2022 09:10:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5P/di/DP9P8Xmjnid0SUARb/D0c37UJN4tEbOi1PU8rWpPMo6bj12Ne6UMV8rWY1tDPWxU X-Received: by 2002:a17:907:3e18:b0:73d:8180:a3c6 with SMTP id hp24-20020a1709073e1800b0073d8180a3c6mr2986756ejc.447.1661443828231; Thu, 25 Aug 2022 09:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661443828; cv=none; d=google.com; s=arc-20160816; b=LJigHTozIV32ZpmQ3METJGH++Ulwk4mF6vZU8kJczySJOY1jXjHfeiALYmkGq8IDuw 44Q/DqTmeqNNzWgrs/ExPJ0RGiyuOYXF+xGmTHaS3EwQT4IVWJVCv1MgasF9bOKRrHy6 gqOneO5ZyiZDH7YFBOCYo8r+BYvKSCNSNvWCbG0qXaOX+9gNpaUDdTh22naCd9De2RuR ft9jltkkahqok2d0Yk5q/g8OivQnSUixWhuNv+1sjGo2TM8PZmte4R0dN4cSfav7xMSN O33DdpZ5jlq7zh0+jW19E8xb/6GZqPWyZySHCuIxSZvrgDoZtdNBU87mDKT3E50K1EaE WI3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QAeu8Ip/UVeW3X9UatnEX57POpwb7/cBI9QxTPqXbsg=; b=ACcdhmhSm044mPcVyraFEzhGmWpECqIanGEl02pKppDPuR5tceT/kJBbMRkr4fDprU 4Yu5cCjRcU5ajlWhXxgwyTVOziCt+PqxWjC6O6VbkvpvLu3mGMkxuplqEN6iD4lx2taY Nv+rS64SHfm2JWubf45nWLQFV4VI6Crwh6uybxslHQKuhJn0m3QblrL9QDzrEJlGhcB8 C69NzLchP/eboLhV12pRxdTxEMm/wYWwYlgGXB0S+eNIkjV6rRT5nbwV14tbovGJ9nXO N9HnobF30in+M/31TIuDCO8yyQ3zCO3cmCnSxCfoUGTqKaSIpL4g5mz/F0vPklPTBwW3 Qj+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=WlI6u1sA; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dv12-20020a170906b80c00b007306dbac8c6si3278299ejb.28.2022.08.25.09.09.59; Thu, 25 Aug 2022 09:10:28 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=WlI6u1sA; 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 S242614AbiHYPCm (ORCPT + 99 others); Thu, 25 Aug 2022 11:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242509AbiHYPCe (ORCPT ); Thu, 25 Aug 2022 11:02:34 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6F68B56E9 for ; Thu, 25 Aug 2022 08:02:33 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id w20so10732290edd.10 for ; Thu, 25 Aug 2022 08:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=QAeu8Ip/UVeW3X9UatnEX57POpwb7/cBI9QxTPqXbsg=; b=WlI6u1sAFeq4Vrhsg1L1+HrCLnPuC0iLwAyqNrYw/uTA6PAQe7+NkgYFVqMZ6CtXxA dv1zd8kQ+gLJNFeNhI+Sd8WzUUDqdZ8/sTAEb1OMRJEN7knHgPgH8FqXSUSLU4agrMKi VFq50BZIWWDnJISD3oKOluFTk6NH8PaJp184I7DkghLUVMolt3bdLPJfSq48ynQrnW0l +y1waZRJMWY0Tigamw9B+RK6nvAAxftB8sewjeOBAajnroZnuy9Y0APlGQWqGlHzW9Mc tBLHZSdE4cbnVFidQaSr1WhGyip66o2xG/nRxzBL6vFCDFRVD15GlZL6JbISNvvC8DGj jtTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=QAeu8Ip/UVeW3X9UatnEX57POpwb7/cBI9QxTPqXbsg=; b=g80nFT12sQJCRGZ5mY3RHsqbD+YZDhM4QVRTtJgJDkzEUtT0bGPbnDFO4yFVwFeDbM mUne6uodPaGbtcyBpSXeJCm8qX01RNN4P0GNrWEUqd1kzTsKAf6LYonXsOjG6thaF3/o PeISDqM63EaE7lBamxgOr50WOYvZMVQzhMyQhAcKwoM5fV9N4uNtfe+OJh0H8JaiNaca 6WUb8XKwlmbb0FFmig7+p93bFmNiyD82856k+elJy2VRHBnOba0s+0Dm1sS4lbceK3+y Ys300hbQNxKJmGMYQbioMqcqPsuxRJTne272FiPsAGkINOUEWN2YwBMnS67NJPrEqCF4 mOmA== X-Gm-Message-State: ACgBeo0U6ViFluN08VGbNie/QGGtLZhA5+OGmfE/d7EX71y4TFmJzHEG L0sNRZxJVniXhrS8pFgef5faZQ== X-Received: by 2002:a05:6402:5106:b0:440:3693:e67b with SMTP id m6-20020a056402510600b004403693e67bmr3653140edd.226.1661439752401; Thu, 25 Aug 2022 08:02:32 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a245:8020:2658:1f7c:362:3e99]) by smtp.gmail.com with ESMTPSA id r10-20020a17090609ca00b00732e3d94f4fsm2548771eje.124.2022.08.25.08.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 08:02:31 -0700 (PDT) From: Markus Schneider-Pargmann To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Dmitry Torokhov , Lee Jones , Tony Lindgren , nm@ti.com, kristo@kernel.org Cc: Jerome Neanne , khilman@baylibre.com, narmstrong@baylibre.com, j-keerthy@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-omap@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v4 2/6] DONOTMERGE: arm64: dts: ti: Add pinmux and irq mapping for TPS65219 external interrupts Date: Thu, 25 Aug 2022 17:02:20 +0200 Message-Id: <20220825150224.826258-3-msp@baylibre.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220825150224.826258-1-msp@baylibre.com> References: <20220825150224.826258-1-msp@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Jerome Neanne Interrupt occurring on PMIC TPS65219 is propagated to SOC through EXTINTn pin connected to gic500 interrupt controller Needed for driver testing but official board support pending. TI commitment is required before board upstream kick-off. Signed-off-by: Jerome Neanne Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 565b50810579..1f7ce60ecb57 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -294,6 +294,12 @@ vsel_sd_nddr_pins_default: vsel-sd-nddr-pins-default { AM64X_IOPAD(0x00b8, PIN_INPUT, 7) /* (Y7) PRG1_PRU0_GPO0.GPIO0_45 */ >; }; + + pmic_irq_pins_default: pmic-irq-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0278, PIN_INPUT, 0) /* (C19) EXTINTn */ + >; + }; }; &mcu_uart0 { @@ -352,6 +358,10 @@ tps65219: pmic@30 { compatible = "ti,tps65219"; reg = <0x30>; system-power-controller; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins_default>; + interrupt-parent = <&gic500>; + interrupts = ; buck1-supply = <&vcc_3v3_sys>; buck2-supply = <&vcc_3v3_sys>; -- 2.37.2