Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6191538rdb; Thu, 14 Dec 2023 10:36:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCJnxKyVpXPbCbsbEEWLEP/MujzoXniF/0QrqtGjmig4tcmh4LqwUh738EDLGQi/5BXCxY X-Received: by 2002:a05:6e02:1948:b0:35d:59a2:bcc with SMTP id x8-20020a056e02194800b0035d59a20bccmr10999240ilu.98.1702579002505; Thu, 14 Dec 2023 10:36:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702579002; cv=none; d=google.com; s=arc-20160816; b=rj+Ep//4/RPAAfBM21uG6nDit6f6tHRoFVd9QHtEdC8uUSoJoKgiMSoeLmNew9H12J RaRuUFp8qC7j7iecNuomYyRdI6xOGlT7QFbmbK6WVdmkQmXU4NlHt36j1tRT47C1sZZ3 VAbOP+1L9Wj5bIA3bKtQRLjCG+KMAs+wY1MvkF5hlwBNbpx6S5JJ6/5CrZmGMAI/DhXy fFjd4YqLqLg+UULnuo8/DHLLyMpPtGNxQL5tzmWzIm+SbPyFf5ZiR0EPwJWobuoexpzj d4XbQp5LWIncIrkorENPJHM9sBEjI7faEvKmAMO5o+XjneAPHirQ6mCqdZbTMXS9iU9g MrCA== 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=aZfItAC16OpY8Y87+kaxK+6Wy7sVgwOm4UYAmq8AAhc=; fh=0RXA0Ivym71qzChwCXT1CG8DK+C6B6AxYNFVkflwj5c=; b=CyLZuZCuItCiMwEqFzsJIn7cAifHWTgmAM3pCo07pPDRjUvtlKA9K+ahr7Nhs8wVbw 9UVdgpXZQ3AU7Rc2yP1RGxgwG/BPW6vk1bMQLbcX8Jah4om9yB1StbPE402tDVY5+aGB 0yCcLB316efuP3i2zpMbW6vMf/TJ+1EGFoOeyLzZkE27rICuvy2hI9wCe2KmjPgW/Lb2 jrftmcjNK9L20CtWznCEvS7UTj5S6u19+5nhE7iRoeDEZgo7Js0HChkKALJKzu7tmzoX 1I//aTJjyyhZFF0nZidDDi57o6TKr9ayUJVfw3U7Hagr2HM/+vVFJT+ClW1e0YfsbPfn FuNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=IYgjFJMm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id i6-20020a63cd06000000b005ca4098bf5fsi4201422pgg.620.2023.12.14.10.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:36:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=IYgjFJMm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 138EC8075951; Thu, 14 Dec 2023 10:35:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444201AbjLNSfF (ORCPT + 99 others); Thu, 14 Dec 2023 13:35:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbjLNSfD (ORCPT ); Thu, 14 Dec 2023 13:35:03 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 648ED111; Thu, 14 Dec 2023 10:35:09 -0800 (PST) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BEIVkrm012030; Thu, 14 Dec 2023 18:34:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=aZfItAC16OpY8Y87+kaxK+6Wy7sVgwOm4UYAmq8AAhc=; b=IYgjFJMmcgD3ceQdzJU0wRBQXHCOT3CZX9YgqKWvOo2vanSnqkOdQ67Dq92BaM5Z5R5W g+e6Rz6YlNVck/VPwy5TxxfLvpYS9XNJA7brDMhS4aUjfUz5NC/hD5WMntYoTbDZxNj2 81vMhGfewItxp+nBfugU4UA/Zw9DM/e8zhi5aOvwgafkZL+kj2vBFuu73GJKwUrntaIY RhbG9AGLb9LC9aKOdVfMMKojC2NPcnwgMxFdpwab8bbKitz4zZAegcYiLCzqwzeqAVVX 4nBv4FPhaeAyb4fnlaV+Kbltiuu3q46uQgQjLUkiwiOmdYpfG0lSZgl0hWjmK3cyMsME uA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v072ag26k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 18:34:22 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BEIXAjM016214; Thu, 14 Dec 2023 18:34:21 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v072ag264-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 18:34:21 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BECe1XP014799; Thu, 14 Dec 2023 18:34:20 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3uw42khrus-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 18:34:20 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BEIYJq69830950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 18:34:20 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D07D65805D; Thu, 14 Dec 2023 18:34:19 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 254E358056; Thu, 14 Dec 2023 18:34:16 +0000 (GMT) Received: from [9.67.23.198] (unknown [9.67.23.198]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 14 Dec 2023 18:34:15 +0000 (GMT) Message-ID: <8cdadff2-055a-48ab-8495-45c8285d3d8f@linux.ibm.com> Date: Thu, 14 Dec 2023 12:34:14 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 4/8] ARM: dts: aspeed: System1: Add i2c and muxes Content-Language: en-US To: Krzysztof Kozlowski , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org Cc: patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-5-ninad@linux.ibm.com> <72a749b9-b9be-4496-9bcc-37519044c109@linaro.org> From: Ninad Palsule In-Reply-To: <72a749b9-b9be-4496-9bcc-37519044c109@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: KIu3tM4aH2p_1s1TvaCGkUi7cGT1eyM9 X-Proofpoint-GUID: 7-F53l8el8CAhlx9LMigtTCwyZjJNqJO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-14_13,2023-12-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312140131 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 10:35:22 -0800 (PST) Hello Krzysztof, On 12/12/23 14:21, Krzysztof Kozlowski wrote: > On 12/12/2023 17:40, Ninad Palsule wrote: >> This commit adds i2c devices and muxes. >> >> Tested: >> This board is tested using the simics simulator. >> >> Signed-off-by: Ninad Palsule >> --- >> .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 577 ++++++++++++++++++ >> 1 file changed, 577 insertions(+) >> > Why do you split new submission into multiple chunks? The logical > feature here is new board, so all your DTS patches adding new board > should be in one patch. Oh,ok. I thought it might be easier to review but now I squashed them together. > >> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> index 01291b407f59..0557bff9f36a 100644 >> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> @@ -11,6 +11,65 @@ / { >> model = "System1"; >> compatible = "ibm,system1-bmc", "aspeed,ast2600"; >> >> + aliases { >> + i2c16 = &i2c8mux1chn0; >> + i2c17 = &i2c8mux1chn1; >> + i2c18 = &i2c8mux1chn2; >> + i2c19 = &i2c8mux1chn3; >> + i2c20 = &i2c8mux1chn4; >> + i2c21 = &i2c8mux1chn5; >> + i2c22 = &i2c8mux1chn6; >> + i2c23 = &i2c8mux1chn7; >> + i2c24 = &i2c3mux0chn0; >> + i2c25 = &i2c3mux0chn1; >> + i2c26 = &i2c3mux0chn2; >> + i2c27 = &i2c3mux0chn3; >> + i2c28 = &i2c3mux0chn4; >> + i2c29 = &i2c3mux0chn5; >> + i2c30 = &i2c3mux0chn6; >> + i2c31 = &i2c3mux0chn7; >> + i2c32 = &i2c6mux0chn0; >> + i2c33 = &i2c6mux0chn1; >> + i2c34 = &i2c6mux0chn2; >> + i2c35 = &i2c6mux0chn3; >> + i2c36 = &i2c6mux0chn4; >> + i2c37 = &i2c6mux0chn5; >> + i2c38 = &i2c6mux0chn6; >> + i2c39 = &i2c6mux0chn7; >> + i2c40 = &i2c7mux0chn0; >> + i2c41 = &i2c7mux0chn1; >> + i2c42 = &i2c7mux0chn2; >> + i2c43 = &i2c7mux0chn3; >> + i2c44 = &i2c7mux0chn4; >> + i2c45 = &i2c7mux0chn5; >> + i2c46 = &i2c7mux0chn6; >> + i2c47 = &i2c7mux0chn7; >> + i2c48 = &i2c8mux0chn0; >> + i2c49 = &i2c8mux0chn1; >> + i2c50 = &i2c8mux0chn2; >> + i2c51 = &i2c8mux0chn3; >> + i2c52 = &i2c8mux0chn4; >> + i2c53 = &i2c8mux0chn5; >> + i2c54 = &i2c8mux0chn6; >> + i2c55 = &i2c8mux0chn7; >> + i2c56 = &i2c14mux0chn0; >> + i2c57 = &i2c14mux0chn1; >> + i2c58 = &i2c14mux0chn2; >> + i2c59 = &i2c14mux0chn3; >> + i2c60 = &i2c14mux0chn4; >> + i2c61 = &i2c14mux0chn5; >> + i2c62 = &i2c14mux0chn6; >> + i2c63 = &i2c14mux0chn7; >> + i2c64 = &i2c15mux0chn0; >> + i2c65 = &i2c15mux0chn1; >> + i2c66 = &i2c15mux0chn2; >> + i2c67 = &i2c15mux0chn3; >> + i2c68 = &i2c15mux0chn4; >> + i2c69 = &i2c15mux0chn5; >> + i2c70 = &i2c15mux0chn6; >> + i2c71 = &i2c15mux0chn7; >> + }; >> + >> chosen { >> stdout-path = &uart5; >> bootargs = "console=ttyS4,115200n8 earlycon"; >> @@ -54,10 +113,12 @@ vga_memory: region@bf000000 { >> reg = <0xbf000000 0x01000000>; /* 16M */ >> }; >> }; >> + > You need to clean your patchset... I made changes about the stdout-path, is that what you mean? > > >> }; >> >> &adc1 { >> status = "okay"; >> + > Really. I need to add "status = okay" otherwise its not instantiated. > >> aspeed,int-vref-microvolt = <2500000>; >> pinctrl-names = "default"; >> pinctrl-0 = <&pinctrl_adc8_default >> @@ -186,3 +247,519 @@ &kcs3 { >> aspeed,lpc-io-reg = <0xca2>; >> aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; >> }; >> + >> +&i2c0 { >> + status = "okay"; >> +}; >> + >> +&i2c1 { >> + status = "okay"; >> +}; >> + >> +&i2c2 { >> + status = "okay"; >> +}; >> + >> +&i2c3 { >> + status = "okay"; >> + >> + i2c-mux@70 { >> + compatible = "nxp,pca9548"; >> + reg = <0x70>; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + status = "okay"; > Drop Done. > >> + i2c-mux-idle-disconnect; >> + >> + i2c3mux0chn0: i2c@0 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <0>; >> + }; >> + >> + i2c3mux0chn1: i2c@1 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <1>; >> + }; >> + >> + i2c3mux0chn2: i2c@2 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <2>; >> + }; >> + >> + i2c3mux0chn3: i2c@3 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <3>; >> + }; >> + >> + i2c3mux0chn4: i2c@4 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <4>; >> + }; >> + >> + i2c3mux0chn5: i2c@5 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <5>; >> + }; >> + >> + i2c3mux0chn6: i2c@6 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <6>; >> + }; >> + >> + i2c3mux0chn7: i2c@7 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <7>; >> + }; >> + }; >> +}; >> + >> +&i2c4 { >> + status = "okay"; >> +}; >> + >> +&i2c5 { >> + status = "okay"; >> +}; >> + >> +&i2c6 { >> + status = "okay"; >> + >> + i2c-mux@70 { >> + compatible = "nxp,pca9548"; >> + reg = <0x70>; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + status = "okay"; > Drop Done Thanks for the review. Regards, Ninad > > Other places as well. > > > Best regards, > Krzysztof >