Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1148258rdb; Wed, 20 Sep 2023 00:28:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2XmAkTW8+JDkp6xwtcFexuuzYC6OT5wbgUvKF5SRYo+BXQyN2kgTu8ZIqGo+WHZ91kE/D X-Received: by 2002:a05:6870:a10c:b0:1b3:9e41:de07 with SMTP id m12-20020a056870a10c00b001b39e41de07mr1958872oae.36.1695194920562; Wed, 20 Sep 2023 00:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695194920; cv=none; d=google.com; s=arc-20160816; b=VlrEVJV+0nBDZSuQ2MUItn+ERdL2TZvw1+K+FRFagUitX6ZnzUYkZ8FDddWwabr0YI CT5VZ6PMVjQTDxzEeh1jrEJ+LDWcO7rkgS/S2wRKAjtwuy8GszqY+G/6KtQOktPHDWcl +yzuQpUotOh5asOgFrVjBoD7RAhH2L/Tr6cdYf1whXuy7Ep00uZuOS9OHjXZ4B4aR4Ei NwwH6QD3O4Xjivp3AA3VdG6Kk+nz0cn01Cl2PhGRIgK1AfTjpMNj8ZmDJG3P0uyrb1BL Y7mj6MlOuLL4EO7cRNBVP5zcWtT0lUZjM0IRp9WeZ7+TNL6hTQf3tjoamlNmBzUpR6OL 4I2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GUwHqxc3onQ7spFD8fjjdf2+aoWcY9FPLtzhvEFhHII=; fh=ib9p++FAnMY8i6GirKqTPo5zDAUbCToUxb7m6M2s4Yw=; b=tEWQfyNeuwPg304QEI78RPSEmtgchBoMGMu5VHgVfakr1GpNV32/+EGiBOSEyWvv9c rp641yvbCwsh5KEmPwsxcgow3+4NB0iJbEYlLKUHcLDup2/G6rqm1DoODihh6V/hxLEA tgqqZM9Uhlk+2Cp4AOn4J2s9Fd+XnF3iEUn2kZ4zVlzRH4nT9E/3uiRsoWGzg50ytUeh LJ72TB3GBUCcmKlNwQ7MVyBN1arokTGldOVJBU38x3irp8HM2oIJbZItqaLvH2o5pmSP leY6wOp6fh6LAPE3fbkfhsvRgnuqkJShvVJvF7/kTsjR5JpKz3Cal8qoDU72tU0qH5Mh yBCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zT5WxjV4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bc22-20020a656d96000000b00578b952e954si2472844pgb.112.2023.09.20.00.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 00:28:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zT5WxjV4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 60E79828D019; Tue, 19 Sep 2023 21:17:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232190AbjITERv (ORCPT + 99 others); Wed, 20 Sep 2023 00:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231269AbjITERt (ORCPT ); Wed, 20 Sep 2023 00:17:49 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 021DA9C; Tue, 19 Sep 2023 21:17:41 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38K4HVxN044462; Tue, 19 Sep 2023 23:17:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695183451; bh=GUwHqxc3onQ7spFD8fjjdf2+aoWcY9FPLtzhvEFhHII=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=zT5WxjV4mqSn75di28081wd7911Dbwpa070x0Mmg9zwJSs/+Cgg6XKJRZWmTen6Em vEdlj+O/C89ZuX+gLYNCNmIMWoGNv6DMQGV0ZKtkkhpMEy1iXWKAHL/rP1y8ehPBK9 RR9j4sByeJc9HVAyerIlAD1aYvqVAOhDTOTZZldI= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38K4HV4X010186 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Sep 2023 23:17:31 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 19 Sep 2023 23:17:31 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 19 Sep 2023 23:17:31 -0500 Received: from [172.24.227.83] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38K4HRcY026403; Tue, 19 Sep 2023 23:17:28 -0500 Message-ID: Date: Wed, 20 Sep 2023 09:47:27 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] arm64: dts: ti: k3-am654-base-board: Add I2C I/O expander Content-Language: en-US To: Andrew Davis , , CC: , , , , , , References: <20230919050340.16156-1-r-gunasekaran@ti.com> <3e4fb573-3439-5d5c-866d-75bc20732d92@ti.com> From: Ravi Gunasekaran In-Reply-To: <3e4fb573-3439-5d5c-866d-75bc20732d92@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 21:17:51 -0700 (PDT) On 9/19/23 5:51 PM, Andrew Davis wrote: > On 9/19/23 12:03 AM, Ravi Gunasekaran wrote: >> AM654 baseboard has two TCA9554 I/O expander on the WKUP_I2C0 bus. >> The expander at address 0x38 is used to detect daughter cards. >> Add a node for this I/O expander. >> >> Signed-off-by: Ravi Gunasekaran >> --- >>   arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 7 +++++++ >>   1 file changed, 7 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts >> index f5c26e9fba98..035b20386ef3 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts >> +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts >> @@ -381,6 +381,13 @@ >>           interrupt-controller; >>           #interrupt-cells = <2>; >>       }; >> + >> +    pca9554_1: gpio@38 { > > As this is at a lower address than the other expander(39), why > not put it before that one to keep these in order? Sure. I will reorder the placement of nodes. > > Also, do you need the label(pca9554_1:) for anything, if not > drop it for now. The label is not needed at the moment. I will drop the label. Thanks for reviewing the patch. I will make the changes and post v2. > > Andrew > >> +        compatible = "nxp,pca9554"; >> +        reg = <0x38>; >> +        gpio-controller; >> +        #gpio-cells = <2>; >> +    }; >>   }; >>     &mcu_i2c0 { >> >> base-commit: dfa449a58323de195773cf928d99db4130702bf7 -- Regards, Ravi