From mboxrd@z Thu Jan 1 00:00:00 1970 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 595ACEE6420 for ; Thu, 12 Sep 2024 02:12: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:Cc:To:From :Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2LaLyx7zyb56bK2TU4DCBHWv1c41cNWe6RFydXIXBPY=; b=4QEdrF2fjHML7X3Rewtzt9ie7A wQzlrf3t3af1jSkY/aJnuyQaIoS8mHMYg2QengTd0X8MyGHAm4fL7zea/cRwYMgwCAMR5M7tdk04H 6zFrNB0WEmeRWG+AtfUOFab5JitZ4rLjl/vJvLPZlhAGSFKs1uL0aP/BJZQifQVnIm8OpBksq1TNh dC1Ctmc8tw9c3GmWNAfppQvziHuCqN2Ebc7Rj95UR62jPp431PLEjFlDq4KVtupw7PzKu+mZyDYmz epPNOfatvl0hPxV8Gnn49n4HE+Llmah8eQu5//tBN4EGCZ98kZYG6gHLhNdan9K82LTE5O8UIcSFr BBGQhHag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soZJP-0000000BZvg-0YHD; Thu, 12 Sep 2024 02:11:59 +0000 Received: from pi.codeconstruct.com.au ([203.29.241.158] helo=codeconstruct.com.au) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soZIL-0000000BZoM-04F8 for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2024 02:10:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1726107051; bh=2LaLyx7zyb56bK2TU4DCBHWv1c41cNWe6RFydXIXBPY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=hBZ3oH029X4Lqtkmx7x+tv3L/RMwd4BCdPUAVpWUMdI+CnTu8he+qdmUiuB3X+//0 oUJdl0FY2R3P4Lp2+Jwqcdu7t2e1JldZDcJ9S6tD6hFfQneRnBEAxUCBRtaWCpNCsX OxY2paMacjRtlPSiS5VNwujyMAnfz7mvU4GDDvE1oUIRfda7pgQo2ChJu2qjyl6hTa ntbKkfHjXXQmhR8sk7Sd7jJZLaym0Vh2TU9kcOHxdVd8+m6wJ0rGwLEgJLujLxhe6J QNuD69keeMJ4qmoybbIQjJrGVVuuASubL7l3PNclpMAuBdqRAXAmkVnU2X6+3Zi6g+ fRlc1WEr0GeYw== Received: from [192.168.68.112] (ppp118-210-89-8.adl-adc-lon-bras32.tpg.internode.on.net [118.210.89.8]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 7A63E650D6; Thu, 12 Sep 2024 10:10:49 +0800 (AWST) Message-ID: Subject: Re: [PATCH v1 2/2] ARM: dts: aspeed: yosemite4: Add gpio pca9506 for CPLD IOE From: Andrew Jeffery To: Delphine CC Chiu , patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley Cc: Ricky CX Wu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Thu, 12 Sep 2024 11:40:48 +0930 In-Reply-To: <20240910054751.2943217-3-Delphine_CC_Chiu@wiwynn.com> References: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> <20240910054751.2943217-3-Delphine_CC_Chiu@wiwynn.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_191053_289950_54B82423 X-CRM114-Status: GOOD ( 10.36 ) 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 On Tue, 2024-09-10 at 13:47 +0800, Delphine CC Chiu wrote: > From: Ricky CX Wu >=20 > We use CPLD to emulate gpio pca9506 I/O expander on each server > boards. > Therefore, add pca9506 to probe driver for the CPLD I/O expander. I think it might be best if you add your own compatible to the list in the gpio-pca95xx binding just in case there are some behavioural quirks of your CPLD implementation? Not sure if this should be "facebook,pca9506" or "wywinn,pca9506", but assuming facebook, from there you can specify compatible =3D "facebook,pca9506", "nxp,pca9506"; This allows you to add the quirks to the driver as required in the future through the more-specific compatible. Andrew