Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp159593rdb; Thu, 1 Feb 2024 05:15:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGckahyUf7MC8perCEwNWo7b5M8XiNPH6aifS050OLfamw74yJQQYCE+sHRtnSzP17AGOrJ X-Received: by 2002:a17:902:7d87:b0:1d8:a5c7:a383 with SMTP id a7-20020a1709027d8700b001d8a5c7a383mr1757175plm.60.1706793301714; Thu, 01 Feb 2024 05:15:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706793301; cv=pass; d=google.com; s=arc-20160816; b=sIrDgadNXVXmyDo7Znv0BJNFilPYBAQIiwlsH/ynMOs/H0J95K6CtevdeC1MRrGtU0 7BqFuekssDos/6zKy7fCwC/gWdPDdzLS3hD/VOOWMtJLjBvqOULOJEquoo0x8D2f/R3z oc03qYQl0t+iBe1exIxY1CB0GhOWwohC3Gy3WlqE8zz74tzSPT1SjUbw+IlYL59V0h+0 VzRbsIFyDrT+dwcbogx44aw7tV+aXM+eG/QmC+WXTmQTf1wE6mgVn4CKvMnshuAFrA6o bMp5TUCpaF+weB3RTQefySUZ28XwTuCtjVWqCOdr/0YZVIYyK/qeMItnJV4+TQdJjt2m tklQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qvtQsVUpv6mrbOusIihe550/VZAo/qI5LTEF9Sr+vYc=; fh=Izb3NhwwT4FNM1mJokOLxtyC7F55u0Azw5frT7rL3Gc=; b=pGRGSL5U2ZRAHgFPUraFEHhMMzGnk67TsNBEiA1YV7GZTQnt3VDsPd22DxYrnKrhs5 +DAebUe0sP1vVbLB3ZqJqzWN/ZO784YwCzmxFAKCi23Om6WUepzSSYdlzwNg8YFP5PbJ LRNcv9vM+N012zU4opP9GMUwlo74iTel1LGYHgNxeRYVt/pSVHqaaptWht1cp/EKodWX iZB7Bu5Kzs29wV/J+djd5Go/V44phsTdfOa3GqSFI211s1kCuLaDVz1g+G0BUOZBWAQj F/y5EJhJovCCucwnLXNRNPrBFJYCffnOgGceQEEwOuAd1CxUI9wzm5NvZ95SyzwfYtoM LQ2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tnXpvvYb; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-48211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCXkhRYNvbydCilNweRSPnIPtwCziP1DR8b2IDTcSRJ7hjCDzh4/56ikVh6/FYyGjf0EcILe98kzmfAa7PWgQ/K1F9eeDkYWh/Ye6SRZ6w== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t1-20020a170902e84100b001d5ac82c7fcsi12814089plg.447.2024.02.01.05.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48211-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=@microchip.com header.s=mchp header.b=tnXpvvYb; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-48211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 D6CE528E1D3 for ; Thu, 1 Feb 2024 13:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76BB85B68F; Thu, 1 Feb 2024 13:12:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="tnXpvvYb" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 A5CC762141; Thu, 1 Feb 2024 13:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706793170; cv=none; b=gpg5A/HByvRI65sJFzdtHrpiAw3cHwoB1UAB+EdyWmd22dvsDs/o52SNb6fpErxhy9wuHHjxiuYA3TK66uqtzaWPCdpfcGkiHujJ5S908krmSstnRYmPARCccDqwL7WxtqeLAZNWRgayedsCGGkhO7rXPy/eS9V37tdmUk4rQx8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706793170; c=relaxed/simple; bh=qvtQsVUpv6mrbOusIihe550/VZAo/qI5LTEF9Sr+vYc=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iZXmpyf0dfecKh82qe4n7/BqYZoEQrEdt3livDNt5vpMFb2miHNs/YI9eAshsZQoxpykZqfeS2dn2TVFylVHhGmH3P9H89vIsCGFak5Cu04IW20rZoEHpxGwPG+FhhYC1mOxng38FE0RAVczgFOsGI4P/E+SXBkINlhPG7aoYeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=tnXpvvYb; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1706793169; x=1738329169; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qvtQsVUpv6mrbOusIihe550/VZAo/qI5LTEF9Sr+vYc=; b=tnXpvvYbOg9GNGZJTIfv1k59HOOELkzDc2fBILKzb611pVZs2H+jmUh0 JNqzV1KR4nvZLrCd1Te3TlWOfyGiInkfSRulCmVZZUP5DN5FOHYDQ49eK y9Rp3RTcXeXzMDJkWjNHOBU7SB0tg17Kq75/EDbZR1x4sTs2TJr5Uk/wo JsOXWvb9fhVVHRBCg6VtBVOhqhzjmDbvt5+PUWBWAdtt+IkiiNohKFrhg LciGzh7KWOT1TF3Kv8dCuu4rbZJTHkkm36CHWuiQphqT0/M795IdALFkv pXNiTTSUECCrypC64j6i088L2hSDlU06Tdy6G7xE9mqkExciIxJZPAmOB Q==; X-CSE-ConnectionGUID: DojxIC2fROuGfno2oWJAig== X-CSE-MsgGUID: UGxvDEb7R5C65tm/xwNFig== X-IronPort-AV: E=Sophos;i="6.05,234,1701154800"; d="asc'?scan'208";a="15617257" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Feb 2024 06:12:42 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 1 Feb 2024 06:12:21 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 1 Feb 2024 06:12:18 -0700 Date: Thu, 1 Feb 2024 13:11:39 +0000 From: Conor Dooley To: Frank Wunderlich CC: Conor Dooley , AngeloGioacchino Del Regno , Frank Wunderlich , Michael Turquette , Stephen Boyd , Matthias Brugger , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sam Shih , Daniel Golle , , , , , Subject: Re: Aw: Re: [PATCH v3 1/2] dt-bindings: reset: mediatek: add MT7988 reset IDs Message-ID: <20240201-goes-passable-0ba841d36bc3@wendy> References: <20240117184111.62371-1-linux@fw-web.de> <20240117184111.62371-2-linux@fw-web.de> <20240118-calcium-krypton-3c787b8d1912@spud> <43f946cc-07e1-48c5-9b31-40fc9bc93037@collabora.com> <20240119-dupe-obligate-707b3a01b356@spud> <0EA6A126-DDC0-4E9F-BEBC-FD018B08CA84@public-files.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7WXHEjVDjRcKaa45" Content-Disposition: inline In-Reply-To: <0EA6A126-DDC0-4E9F-BEBC-FD018B08CA84@public-files.de> --7WXHEjVDjRcKaa45 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2024 at 12:40:17PM +0100, Frank Wunderlich wrote: > Am 19. Januar 2024 18:04:36 MEZ schrieb Conor Dooley : > >On Fri, Jan 19, 2024 at 10:28:30AM +0100, AngeloGioacchino Del Regno wro= te: > >> > >> The resets are organized on a per-reset-controller basis, so, the ETHW= ARP > >> reset controller's first reset is RST_SWITCH, the second one is RST_so= mething_else, > >> etc. while the first reset of the INFRA reset controller is PEXTP_MAC_= SWRST. > >>=20 > >> That's why ETHWARP has a reset index 0 and INFRA also starts at 0. > >> I think that the numbering is good as it is, and having one driver sta= rt at index 5 > >> while the other starts at index 12 would only overcomplicate registeri= ng the resets > >> in each driver, or waste bytes by making unnecessarily large arrays, f= or (imo) no > >> good reason. > >>=20 > >> This is one header, but it should "in theory" be more than one... so w= e would have > >> one for each hardware block - but that'd make the reset directory over= -crowded, as > >> other MediaTek SoCs have got even more resets in even more hardware bl= ocks than the > >> MT7988. That'd be something like ~4 reset headers per SoC (and will in= crease with > >> newer ones)... > >> ...and this is why we have one binding header for resets. > > > >That's okay. The commit message leaves me, who clearly isn't a mediatek > >guy, with no information as to why these are not one contiguous set. > >IMO being for different reset controllers entirely is fine. > > > >> On the topic of leaving space to allow grouping RST0/RST1: -> No. <- > >> The indices have to start from zero and have to be sequential, with no= holes. > > > >Agreed. >=20 > Hi, >=20 > Just a friendly reminder. >=20 > As far as i understood, Patches are fine so far and do not need any rewor= k,right? I suspect I was asking for a commit message that explains why these numbers don't continue in sequence. With that, Acked-by: Conor Dooley Cheers, Conor. >=20 > But i have not seen them picked up yet in linux-next. > regards Frank --7WXHEjVDjRcKaa45 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbuYiwAKCRB4tDGHoIJi 0pvVAP93MxxzBvNZvtpY9olFpk98CWj6rUSSZNqZsc6xps/yEAD+Kke0OXNnExQZ iR3rlwQAtPweOolLZJS0LiATIRpshgQ= =wI+F -----END PGP SIGNATURE----- --7WXHEjVDjRcKaa45--