From patchwork Thu Jun 20 16:16:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13705826 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 0942EC27C79 for ; Thu, 20 Jun 2024 16:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BrKCcbgvJ889xlBaONJ5CMggN7dBBOyYruN+q4CkMdI=; b=23JnAaR5RlyUgmLr6jfxEi9PYp XAjITYmv4xhLpWyC4//6eGrQHR9AK95Kv4tUR5SIB0gy3uCp6pYeH8fc1+YSRQU0uiCrh2hT27HvK Cjv3KnykRtAhGMHR2kT8//pIkNaUCpu27jIKc/zUoRpD4Jp7pZO16sN0zT/WLrIWswM2aDeG4N0f/ M+cVN8vGcQByOMRf7VeIVnzQBjRISLFvPeaxPK/INO8MG8BOi+tpJ0hT26zH7Z+QnzasL6Map3utG LV483Omj1sbzP20u6tV3neb4VLwiGV764uXTCuZQ6ryPYWfThbXQ6/8luf/WQiiSj6nRGsaL4AcWV 4EHadu0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKKT8-00000005nQt-3jDn; Thu, 20 Jun 2024 16:17:02 +0000 Received: from mail-am6eur05on20631.outbound.protection.outlook.com ([2a01:111:f403:2612::631] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKKSx-00000005nIg-2BhJ for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 16:16:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LFLSYYDsVgDVjDidSNivv5kAabOVme1M9CU9i+bToCwiXnyd20mg39MlNq4jrbKMSigiTm3rhmYwb4sxVVkvVwPCNBFUTWSJxSAnDZiLNfTX0GSDo0kvNG3slhHnjuYD/jFY4so61kRb21igova0EFaorREGHwv6s5L8P+Rj93CMFOcpmnhIXtuXRY10VxtaWBurlWcZl/GFPTKEMVshkiPQNOLVGk02iZPDNqyMYRGnt/R8DwwmI7qg094jKkf9N5pGcXiN3HVRUnXl/YWPAot6ITShLmaf9WK1XDPyi343LCxW0Yp+E6LDWgZE/9kigbOHE6j38fIPg+7+acCCHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BrKCcbgvJ889xlBaONJ5CMggN7dBBOyYruN+q4CkMdI=; b=YbNt3TbJAbs8cFeTqKyLOk+DpmdLJMyOjFGzLbDtlhVBQJtlftm9VDeemBW7x1b7P3BSHJCaVM4X2CEBhaE0OhBrrm7Xhh1ujlCL/p27uq08WxrsL2Mj3CneR2PEInCDIyiREcxHj2eQSl3y/Mk/YqKAvz4gg5Q2yTVUceatMcVB1tXSw750kj2zJg65Qja7tQ4hV5c3E3k5cpDVMp5+bEE28+RaxW2evm1nYMnihXC59C1EcliawicAAtdZPnXhUtRZTFzUlXHQXYoq8g+sqoBHboABwe8jqhe16kFv2yQHLCHCOkKo3DTS0H4XWk4zzboBxJx226o+ROYRM3HtsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BrKCcbgvJ889xlBaONJ5CMggN7dBBOyYruN+q4CkMdI=; b=Cd8tigtXmpqganQNjPxTNd/xm5NGjR4D0NtbjRaNGrWIaZjSuOnUV7vWPo5P8M947rGqMU146eAas01Z7R0fhto6xb2h+pxAnDi/29ZVYDsIPAwNyB1kyewBcnbobQb3KtOFV4hOKlA53CB4La4CtRD1hQLcFtwdSTm5Pc5JcP4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by GV1PR04MB10582.eurprd04.prod.outlook.com (2603:10a6:150:211::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Thu, 20 Jun 2024 16:16:45 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.020; Thu, 20 Jun 2024 16:16:44 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 3/4] arm64: dts: imx95-19x19-evk: add lpi2c7 and expander gpio pcal6524 Date: Thu, 20 Jun 2024 12:16:21 -0400 Message-Id: <20240620161622.3986692-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240620161622.3986692-1-Frank.Li@nxp.com> References: <20240620161622.3986692-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0197.namprd05.prod.outlook.com (2603:10b6:a03:330::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB10582:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d8fd4b1-25a7-4057-16be-08dc9144608a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|921017|38350700011; X-Microsoft-Antispam-Message-Info: zsyhb7Wzk90HXs6jJueM5Rg3uWEU73Drq1D36Ke54n1/Kqj7nBK3GubjH7wEWFTiXH65CuBhhznqSuxHVazBYOEiHpMU3LSBbn5Kf3wAfhHQ8575A810cujk/fo/CNMx2jUV4RIt3h0ui+TWCJff/eKyz3fIxYJZLbS4uyiYpPilJXwp4GOI6V/qClCUiR/GFy9xKJ4Sst0+vZZO6SBVYX1p9mecSGuvBSOupc06zdDMsFLDKC9plEver3JunTAhx1iU6QnBZKual4BPNQegToJAGxnlQAm4ox3jwk7bNtBHATIuVSfExm3UGPjSiN/MJuSVxJ4vysqlkMExKWJbQ2LZGdAMByPIWq7cKn2sCAMs+3RZOAX0RyNdLCNgbIYDEsm3EXWbLrmVcqighNK7YN+Hnu/aij4RXynUUYtJtvlG8oFnwlAifatPUuG+0zJ8nSeRtr5cj3wPyRi/sVRSJkyVfhORoMUEx7cP/zPhXHtuRYYiLxdLIRsx1scabkPaDmU896NJQPQGABHnOAl4oKFCSsZdonl2xzOCNm/xI86i/gsg45bl027/yVuYoxokEWFfLpgYRvdxlgvauYATlxgb+N0AVbjzgtcZUgUlyqiIDduurX1X867R9KyWT7YEFu3qoilkdYNAliqlXnNM+xfAt7g11qqURCfa5YYZ+fY+fpMETkbKqS7H+R4d76ulE5BFQzZ1B9PN4IUZviI3CPxhkyH37fIXYYPD7QSF+47It5Nwby0ZIMICgRsYkSACD0tYan0Le8vz0esx4XHqxMuUJain6Ft8h1N0fQ3k+1yZOc2kbcIK7W8cODfVFg+cP+9a7TvXLv8lfHn72ipFHACvfIctpDi3fdJLGdolBKAgnRVoYe45QqXAYUgR1R53Ua2QTDcTcdPCPsis8xh2iTD7DfPmZKiyDxWl4/yqHFFt569ouFBOhPkbDnUZL00hjjP+cGJg8RwBNJibEW/EwZiKCRpCFaHaFBYi6V6S92/V5kXckwUQVMPOwS241sKEyQnFh8W/RZjvHMTbPm+4AUHD23GuBuzdfMvHWyykL9lYubz9oO3IGWjNZ4Qh0sA7/uOojl0ORwI7usi3WsFJ7zU9VrKIhhDMbUj0CWB6fGht5HLyASOf+S8JAhsgUhv3a5gnzNiLo7URl0zo3Cc3pr0PqxEUnSwXuc6VpTOEhcCDc9I12fMiqL98AUMuoC2tJOImiLUR513MdHl9cpTEf73ucpINLVVCQNgY4vw/dvrzlACShUBD5NSJ1EH1+S4J2QjiHPIXVsM6jSkBL7dvx6JDaOrQkEwBaiZXiGqGl6kqYNbIyVvjgXOCFn9Ojn1rxX+qFjUQRFXEAHC5Agf2U4chc4xCt1DI1I93zRNQ8lOm/aYWM7s4K5NIwm++0h5e X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(921017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VEEI06MLD/xsS/nDKugAEbUIRGG9XuctmX/ewJjsFLppSv08TrNtzuD2QyhWqNbGmiEG42/eTIA1uaJDMtOrblzYQri3dQl40Xc63z9O1XwisZ32W/76OYQ8YjmMSr6du9Ky99kg/yibYxqZwfnK+gVlDbLgQzZ41J8egMk7QK0dnW4dZWQ5mBAz5O2UCjnuMxodVKnQRJguEH1sydLsLMEg1YIk+dN9ylvPe9ej8/hGpUfaZHaRZZOR9Iuee3XCLjxrO2dySlBLwWbYcpaVdCwbMv1gau4kAuC3z+Ok2roZDHcr17cwAGx35WJ21wLYseE4aMkhE9Tefxgshx4+AoDUfrEesOZ+6sIrZzWDBaaPVjvwOSQ4E7HkbvwvOtnMtjAL1X4Hduw/cgyOdiy6PO0NBgYZf5/9vy2LUuGiOvzVHUoDCiUmINi85ibebaMt3XEnFEZ0Tediz6AKNMYZ4aac3QsX5lcLIj/oQVDI4PUeNSW1yUcDMxdsYwmcy9O72/mkn4WN2/p9M/u2pzuHd2nHkJFyM5FsuwRJJBFPsCBXuYADY8p6pHbv3A1OiuxYjlz2Cq9S0= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d8fd4b1-25a7-4057-16be-08dc9144608a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 16:16:44.4597 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1WARaZ5IuKha401zIKKcqY+2PbqwgdC7enAAJA9lT1CgNRaqwvt1u6HdIT1O4nWl0yYHPvUYon2CEkXQw1OXLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10582 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_091651_590285_D380DCA4 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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 Add lpi2c7 and expander gpio pcal6524. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- Change from v1 to v2 - remove "sleep" pinctrl for i2c --- .../boot/dts/freescale/imx95-19x19-evk.dts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 675abb70aa18d..750a5255b57ce 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -53,6 +53,26 @@ reg_usdhc2_vmmc: regulator-usdhc2 { }; }; +&lpi2c7 { + clock-frequency = <1000000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpi2c7>; + status = "okay"; + + i2c7_pcal6524: i2c7-gpio@22 { + compatible = "nxp,pcal6524"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c7_pcal6524>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gpio5>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &lpuart1 { /* console */ pinctrl-names = "default"; @@ -95,6 +115,19 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_i2c7_pcal6524: i2c7pcal6524grp { + fsl,pins = < + IMX95_PAD_GPIO_IO36__GPIO5_IO_BIT16 0x31e + >; + }; + + pinctrl_lpi2c7: lpi2c7grp { + fsl,pins = < + IMX95_PAD_GPIO_IO08__LPI2C7_SDA 0x40000b9e + IMX95_PAD_GPIO_IO09__LPI2C7_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < IMX95_PAD_UART1_RXD__AONMIX_TOP_LPUART1_RX 0x31e