Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1476460lqd; Thu, 25 Apr 2024 17:51:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuW11gRp8zFCQgEgSbS/hRH1YfLgKl8Ep+7Nn7HSGlz1dyoRY0OByph/ReXILnEF4i10u7a7ZegELGBQTPR7Ye/br8Q/4YqFS60uGK/w== X-Google-Smtp-Source: AGHT+IF/kwe4UNz4FNvF+L+o7E+04pkIpQDkgkhnQl01OeVAuIIsPzLFyfJcy1Pkh2/t7nf/4sPG X-Received: by 2002:a05:6a20:6a24:b0:1a3:6fbb:e31f with SMTP id p36-20020a056a206a2400b001a36fbbe31fmr1771472pzk.4.1714092718623; Thu, 25 Apr 2024 17:51:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714092718; cv=pass; d=google.com; s=arc-20160816; b=yudQ3nLka/QRA5keYvdePpZ58iw6cA15C8ZCK5FO+iVf3Z6flVclbSI4lNqmHqkvRr IRmPTqMaSnoGE3YpFyqp28WrKZs+shN672f2I41auA6/lGOB0bSzqnEOGK4eNlPEKodA dTrWwnuqPav2ICYXuZDf9Z8ziEMHht6UeBsTLWbtZFKlaeQyAw7ELJMIQnrqx5nuY50t TZYg8eEVsYzUAFj2rYzqQxVAdlXqTUZP66G6vNIPw9F0nFtUKYKtyiQHeuusqc4Lh+7b nJ3VCDd6rDS2hZBUZoYjzVvE8IwrgCPg1d8+4YHYHRIbl00BmdcaMnLSR7r/CKN4nQpV zUCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=NjN94PFfnv6THIE12/NBk/TDDVzgTTDfDSVQBicYRvE=; fh=/+/2bZhKE/8A5Wyafkb4tEghsVs1XVfAs8Ylvc3Qglo=; b=H/wJIw3p2yl+fEb9Psa9num2Gnp+iMtC1Wml+XGRo/FqSfvj3X1yac/FVBvZG7JqeN 69VXoJZiJuPxy+VR99hoCxqtI/IV0rzZBC5IgQwYsgZsYO9HUfbjxpwWJ0+vMo9EZVMO lXnhQFVakzDBOC9GTZmuH4Wl+zw3715OYcKL2KPLXkf+K6uUOqNNXR8S7hoGrSodlQT+ olQr2blst1kT5VsVfx6pEfXItUDAJeDdp75/vuEeAE3ChqSVT0F0UVlSrIi6FXJMQQDe Mi6Xh3Kwxjv8fTqMSSpQMPUjMLHOeVN5jqOpoJH7QlM6W4bNuP/GRVB7S1Cm0nnO9nCU bReQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=b6a2416l; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-159400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h4-20020a17090adb8400b002a09c6ccdc6si15761166pjv.182.2024.04.25.17.51.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 17:51:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=b6a2416l; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-159400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0012E28106F for ; Fri, 26 Apr 2024 00:51:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98D50EDB; Fri, 26 Apr 2024 00:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="b6a2416l" Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E93BB812; Fri, 26 Apr 2024 00:51:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714092710; cv=none; b=HgIfmA8pH3bTuyn6lGMWtFLyEtVVjJU5mQUhllIJKHSRv02STTtj3Y9XQVus9KY3+TWgi8wxzxLNGi69k1Eji+MSWNQbDCYcLRh6ZcnZ6yr+XSWFL+Ixaf7sM3FBeIr3wTHJdTwpxuk8xKgdJTPajihV3kemth1jtgVmuvCwE4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714092710; c=relaxed/simple; bh=QieyTwN068YvvfCTCYbSnLm9E5U8HCWgeL9luSKfy7w=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=qXrI0uOiNbx+LJPlI4Quon+cj9rqKQlCvM9zXNqDX+PZHjZZ+s3bRaoBNauZw0d3P4Y7LuFlS8T/FZjS7/2Y8h5eTRtFaqz3IqpesDqJTv1T+hugTiYaZVNgFr7PBnYFiNUFJmt3ThOY3WllEpC7oH+zUR7egMUNYuwptfsH64A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=b6a2416l; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Received: from [192.168.68.112] (ppp14-2-127-66.adl-apt-pir-bras32.tpg.internode.on.net [14.2.127.66]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 24E3520075; Fri, 26 Apr 2024 08:51:45 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1714092706; bh=NjN94PFfnv6THIE12/NBk/TDDVzgTTDfDSVQBicYRvE=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=b6a2416lbz7mwL8wx+7sgO3FUkis1MId3UUgDxuD6EpdYUYxhzohbdYxqPn5+2xQR WjVOC05Ss/4rHEkaDG3gpIOED+vJpUI/0EL83bN8wCWRXK9TJnI/Ybs+sSewfMlL9B boHOJauKugnsic95tjgZfArNMpp/nzVIjVSKSuyxq7I3RvqrOw3B3r3T5NXmxwCsFg YyzdayD7A87o3QwP2A4oDjC0nWHoEovlOdR3+cftfHxjNOk51SZseM7sdVQVSx/zB0 s91YIj4gKRCsYrM5SszT4SA5SAnAIs9CfTy2+UZqU2fVmnGBmM27d9GluFrRzER9Lv mb5CwqvpsPtNw== Message-ID: Subject: Re: [PATCH v1 1/2] Revise mux and hardware in yosemite4 dts From: Andrew Jeffery To: Delphine CC Chiu , patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Fri, 26 Apr 2024 10:21:45 +0930 In-Reply-To: <20240425060626.2558515-2-Delphine_CC_Chiu@wiwynn.com> References: <20240425060626.2558515-1-Delphine_CC_Chiu@wiwynn.com> <20240425060626.2558515-2-Delphine_CC_Chiu@wiwynn.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-04-25 at 14:06 +0800, Delphine CC Chiu wrote: > ARM: dts: aspeed: yosemite4: This should be in the patch subject, not the body of the commit message. > Change hardware configuration, consequently modifying the mux in the dts. Perhaps "We have a new iteration of the hardware design, so update the devicetree to match."? >=20 > Signed-off-by: Delphine CC Chiu Overall it feels a bit untidy updating the description of distinct devices in the one patch. > --- > .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 78 ++++++++++++++----- > 1 file changed, 58 insertions(+), 20 deletions(-) >=20 > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b= /arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > index 64075cc41d92..e45293762316 100644 > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > @@ -433,16 +433,14 @@ eeprom@51 { > reg =3D <0x51>; > }; > =20 > - i2c-mux@71 { > - compatible =3D "nxp,pca9846"; > + i2c-mux@74 { > + compatible =3D "nxp,pca9546"; > #address-cells =3D <1>; > #size-cells =3D <0>; > - > - idle-state =3D <0>; > i2c-mux-idle-disconnect; > - reg =3D <0x71>; > + reg =3D <0x74>; > =20 > - i2c@0 { > + inux30: i2c@0{ 'inux'? 'imux'? > #address-cells =3D <1>; > #size-cells =3D <0>; > reg =3D <0>; > @@ -450,26 +448,46 @@ i2c@0 { > adc@1f { > compatible =3D "ti,adc128d818"; > reg =3D <0x1f>; > - ti,mode =3D /bits/ 8 <2>; > + ti,mode =3D /bits/ 8 <1>; > }; > =20 > pwm@20{ > - compatible =3D "max31790"; > - reg =3D <0x20>; > + compatible =3D "maxim,max31790"; This looks like a change motivated by binding validation or a driver change rather than hardware design :) > #address-cells =3D <1>; > #size-cells =3D <0>; > + reg =3D <0x20>; > + channel@4 { > + reg =3D <4>; > + sensor-type =3D "TACH"; > + }; > + > + channel@5 { > + reg =3D <5>; > + sensor-type =3D "TACH"; > + }; > }; > =20 > gpio@22{ > compatible =3D "ti,tca6424"; > reg =3D <0x22>; > + gpio-controller; > + #gpio-cells =3D <2>; > }; > =20 > - pwm@23{ > - compatible =3D "max31790"; > - reg =3D <0x23>; > + pwm@2f{ > + compatible =3D "maxim,max31790"; Again here Andrew