From patchwork Sat Sep 23 08:00:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 13396573 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 8ACB0CE7A88 for ; Sat, 23 Sep 2023 08:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wxAy3pWPmenbkyi5J4S6LGIJ6cb7Jz4XeRgi3dhQUHA=; b=RAgoiz4UFTJ2H9 ipvvhQBZCENV2VYThdLe7uQVer5+Dpm2TUjcSt6S6y8Hr24cL7QpOlSKOqTD6kmYHBaf+5z5N5uBz kzhJCJPAnfxxBRb1QjYONAYACK/kY2Yx1sKgEPXXDm42t9x5NxPNV5lLJ+gU59nDunJMnjVHoNCsE 3DXRlln2SOoDN3GB2U+iYQc0Q2ajAZSgjLQ4rjZ1UnVeyT5FkPs8xDuQSENwAcL91IfhSkgu91aDt /GTooloVKMqdwOX+MNlOkIfkEnHU55+rFA7rWgch9DwPXzgEUoPt7Zkx83MtwxPjd3S9E1IxO/oP0 t4alDWO/bgXudcgIogHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qjxaC-00AcEV-1J; Sat, 23 Sep 2023 08:01:44 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qjxa9-00AcCq-1q for linux-arm-kernel@lists.infradead.org; Sat, 23 Sep 2023 08:01:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id DDF24CE1818; Sat, 23 Sep 2023 08:01:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 817B3C433CC; Sat, 23 Sep 2023 08:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695456099; bh=+0bl9JdtpO6RZoE8citmM/PLqhG+QSEn497rexS26YE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cONVAf0RPSXuf0xSZUfskI+UYtgfC3rYPXKa8jYXWC/kUG3+NdAiYZN4x0KHEJ0G/ kzQMmlQZFlIqix/Gpuyv3NMIzhzCvHhMSHdEtHOFQaP5WzJc7X3ntaFR5+tctqxJmt psGPyYbx5Ca8hpnJWL42BXAm/ceTI3HIwis/KxXJa3mfNyNKmHR37tsCXPdwCyZTgz 3B76PVZrtPrdO4Rx93VFY0gKKW/nV/2PBu9XTj9ltW40tjRDixrWxCTNdzTu8I6QCU lyFa5GK9+eVCgc4eCxZrcyYpVv1pvBaqrbG7YOvxf2wiSDPZOjx28wizokUAZG27FJ 7i7RSucWZy5ug== From: Roger Quadros To: nm@ti.com, afd@ti.com, robh+dt@kernel.org Cc: vigneshr@ti.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, srk@ti.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am64: Add GPIO expander on I2C0 Date: Sat, 23 Sep 2023 11:00:46 +0300 Message-Id: <20230923080046.5373-3-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230923080046.5373-1-rogerq@kernel.org> References: <20230923080046.5373-1-rogerq@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230923_010141_813785_033CF897 X-CRM114-Status: UNSURE ( 8.26 ) 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 A TCA9554 GPIO expander is present on I2C0. Add it. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index b4a1f73d4fb1..3dccc597f516 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -392,6 +392,15 @@ &main_i2c0 { pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; + gpio@38 { + /* TCA9554 */ + compatible = "nxp,pca9554"; + reg = <0x38>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "HSE_DETECT"; + }; + eeprom@50 { /* AT24CM01 */ compatible = "atmel,24c1024";