Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp561295imn; Tue, 26 Jul 2022 03:35:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uEz42AGM0WlisB9dXLnI4ZYciFmt8/NFWobEM159HVE9pFUa8cwVbBLkl6kP4ZTVpnq8RA X-Received: by 2002:a17:90a:a40a:b0:1f2:979:397d with SMTP id y10-20020a17090aa40a00b001f20979397dmr18334600pjp.179.1658831724799; Tue, 26 Jul 2022 03:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658831724; cv=none; d=google.com; s=arc-20160816; b=ECoMN4iHbFN9xcolmkQP63E7w/+Wg2tCk9wTNnGJezPPOfutA1NeDToFXTXRBD6KHT ljdnNqRpXw1kf6sCVoyanlkcogy9qsRElRaZReXALUs/YSM2eoCB0dBSHFvrjmRobNB+ ktsUDjjU35d3DqnH7s19crOuD4lm5C33Mo+q3/GIpgS66mJtwRxU5vw8v3d/q9OY7DD9 W9C9l/gPlw0aNR5v+0alOynJdsM/nfPfOnXXkh8S+sloDtnKPIxJlHRTh5EtU/sSTs6l gU6j3qwBc4LDU49ugJ8ZsV6KItWVZLTlXuYqLH4b1dcpo+bED/Z0+2gEsabnOKafckPn iTFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=vs2EUHmxru/gTR6halos1Ywp4+4Ho+TIZLu6GPo9CWs=; b=PXgd7RvxHvyG4KC85qGGckLDKjeTmRBcACTqeEVIXgs0EB2IpqQou/K20wYfcRKyn9 PmmxdJozRSBvW3Rymgv1hgE14ulSG6s4KfZeD37L27g1SMSQh+wc8QvpCnknvEoR2U68 Y06XtdMk9XEF7VHXCldN1pp9NFmZgHhF08s3k809j1O/9nIWwnAvACe/c1K9LDAVJh/N uU9DI6wF50qpvYpcVolawmV+X4qquv4hLhuQwInCYS5HOBMtGubJ6nvh4a3nNhIenI9Q 8gkzXDxFyfRwMPiUwEKc9qe2q3OJOVYpelEro12Fo6QiIPm5BEHxeJIGx4/j+UHLh0YX Y0sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=prNXGV7i; 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 130-20020a630188000000b0041ad4e2da9csi10130953pgb.195.2022.07.26.03.35.10; Tue, 26 Jul 2022 03:35:24 -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=prNXGV7i; 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 S238691AbiGZKeX (ORCPT + 99 others); Tue, 26 Jul 2022 06:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238686AbiGZKeL (ORCPT ); Tue, 26 Jul 2022 06:34:11 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC62531DE3 for ; Tue, 26 Jul 2022 03:34:10 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id d8so19446428wrp.6 for ; Tue, 26 Jul 2022 03:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vs2EUHmxru/gTR6halos1Ywp4+4Ho+TIZLu6GPo9CWs=; b=prNXGV7iA98CLi7EMiN9IozmhPsLKVpTUggFQNl6g7BRP11xWMQ+0nZT/FO5kkXMQV K/FjNyqGJYOzsMrGlHAK48WCuJl9uFUaG0BJ0/Dzph95hUbtsqvYwcPBUF+ugio3aXUb p58HzTKaQODXJUENFXRt1MMY0SacepHCZPTVnl3VqoYOTmJcwzHr3M9M8bAkQs9IBTq3 4mraQ23IORToSV05s64Dkfeo8ZBZNrdxDIHsfXy3xBR4NolOPNUDUFV9xbdXwI2gNZWF qGx6TDfrIaLzSp+0uL5oEDBmwAXkSvMmhqBjUwQe8BBsVERoTuSzCukvRmhQHfVk8Uf6 OB/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vs2EUHmxru/gTR6halos1Ywp4+4Ho+TIZLu6GPo9CWs=; b=XXPKzshkPc8/1yb98M+cq4/nvgl14jLtL0GvcqvOtGJ4bEcxOO7LQ4uiJjTpnRPFwI /eZdDEKAnc6BwSC7HGsaz3gUSbSFg7wxMOSHyMdEDNdx7VKm9Znk47DwDCq1wkbkP3zC 68tW6bzI0C9Gj6sHRkZQePXloulxNzShFj/TUiysyIXuJISOFy1wjDrJczIs8pNRs206 B4xCUusHAi2t4B5aEXoEg49gU9+MCnEvG0bDVeAQO11Q7G9EBvhXTwyNgvWlsW1+fr1c YC1YvXc96ZBRPUqgc5J1NzPLx9N13Z83oK9BkaJDKKr78A3GuIk0Nfsw0xoDlPPG1Re5 WCUw== X-Gm-Message-State: AJIora92H+MbI87bglEluYsFVJhdLrCwqI1r00tDH56cBAttHukrvoaB UUIq5msA0MxzvH4NtbG5xZtj9Q== X-Received: by 2002:adf:f7c7:0:b0:21e:4aab:1641 with SMTP id a7-20020adff7c7000000b0021e4aab1641mr10057612wrq.166.1658831649322; Tue, 26 Jul 2022 03:34:09 -0700 (PDT) Received: from localhost.localdomain (2a02-8440-4641-6f91-91b7-326a-5d27-a1c3.rev.sfr.net. [2a02:8440:4641:6f91:91b7:326a:5d27:a1c3]) by smtp.gmail.com with ESMTPSA id ay35-20020a05600c1e2300b003a2e42ae9a4sm20617121wmb.14.2022.07.26.03.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 03:34:08 -0700 (PDT) From: Jerome Neanne To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, nm@ti.com, kristo@kernel.org Cc: khilman@baylibre.com, narmstrong@baylibre.com, msp@baylibre.com, j-keerthy@ti.com, lee.jones@linaro.org, jneanne@baylibre.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 02/11] DONOTMERGE: arm64: dts: ti: Add pinmux and irq mapping for TPS65219 external interrupts Date: Tue, 26 Jul 2022 12:33:46 +0200 Message-Id: <20220726103355.17684-3-jneanne@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220726103355.17684-1-jneanne@baylibre.com> References: <20220726103355.17684-1-jneanne@baylibre.com> 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 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 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 --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 4daf55b9d61a..7a84223406f5 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -285,6 +285,12 @@ 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 { @@ -338,6 +344,12 @@ compatible = "ti,tps65219"; reg = <0x30>; system-power-controller; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins_default>; + interrupt-parent = <&gic500>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; buck1-supply = <&vcc_3v3_sys>; buck2-supply = <&vcc_3v3_sys>; -- 2.17.1