Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7906760rdb; Thu, 4 Jan 2024 11:19:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOb0CeO2Jf3YebKsVG7CVFhpZouTcQDYh15SjhUOqDCY/ZFuEJeT5fCgTBbVQsR84IiOXY X-Received: by 2002:a9d:6654:0:b0:6dc:7c2:3c7d with SMTP id q20-20020a9d6654000000b006dc07c23c7dmr1198251otm.75.1704395972876; Thu, 04 Jan 2024 11:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704395972; cv=none; d=google.com; s=arc-20160816; b=fj1ns4bJPmeMd28GPLrMWkut11dwyZvU++pmiTvVlbw8nzbSZ6A3naTbzBuBMb0qEh LWRHyIusZIlgKpQgIzLAi8PSQXCvkqh+zJ5bR2jBPK91YuLcEKZBcZCMX90JSbFcHqLH swoZFr3PfEKaEQ5LrRQhHPFfg439MOyNQtpM/OyRpmgrhD4hI5ewAo/bKCMj9K88wji5 8D8AnTEjUHWERzT8S2ktR9kv2NyWt/2kL61PW/ZLssMJZ5KUsgoA+CPcwpdCUw55CHXf pDULM7CAUJKR23/utZb427RhzJ3fThEdRTp8U37WNpuv/JFNpxb8b96WO4KygqiUdcG8 0Sng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ODG/WY+m1sczivh5xbMK5YbAXeuwMsG0RhioOZlpsCE=; fh=nVzT3PDp/nFt3iyrOqlDBcAxlQSXPdoTk6Jw4qf58vI=; b=R4SD4t+w4T0g9ay0ojPK1v0mCDhoy9K1kEEqcXUD/EitsIUyCZKNgzaCtd8XhE4Vpt sVn9HWc6vAb9CphdUlv267q5ulm752Li/WNd/pKgiayEJAioe4CG4eW/Nn4ftd9N0lOy F6+5u28U7PsOGjg5NTP9pg4pA5pbV9wwhdgoqTnSUDOY+h1AuKa9Lth4ngdCL5PHjubs M4W1OfzYuTfyn+lFGax2h2M1PKDIwhAY/oywgdz1ORJK5KK5twUI3V/v4dB1t6PWOsOc aRjZFSclf/C85+e5NDXb84klffqBa13UNywDgLb6St6FyyHeTgtIiXu0Z1U8MMRTD1PL 6LkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qTG9Q+6t; spf=pass (google.com: domain of linux-kernel+bounces-17146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020ac87d42000000b0042787d3ec11si136788qtb.460.2024.01.04.11.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:19:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qTG9Q+6t; spf=pass (google.com: domain of linux-kernel+bounces-17146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8E4431C22735 for ; Thu, 4 Jan 2024 19:19:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34DE82C1A8; Thu, 4 Jan 2024 19:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qTG9Q+6t" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11C6F2C197 for ; Thu, 4 Jan 2024 19:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a28f66dc7ffso91056766b.0 for ; Thu, 04 Jan 2024 11:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704395961; x=1705000761; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ODG/WY+m1sczivh5xbMK5YbAXeuwMsG0RhioOZlpsCE=; b=qTG9Q+6tRoVAQWVQauMXHa6gml4USJMIJL4RmxlKVJUAtZDYQ2X8hneaNqscMPtRfh kEi+XiIGHsHscvY2ZEYsXlJE+PCePm895DuEUmIfhrwH/h9jerIrkaDDmL11/mmO0qEO RlZHhE11t++9ExPE2GAnTf0VH4HJjXBjQa9o+adtKujkJ2+xW5czMET1ZZzGOUjgty70 t6MAH3EOPisLQquaieVRlfvtEHrx5p7vOWACFRBAlxKLqW4Pde2ByhO19jb4wxJZM7EZ BY0Tyksc7p81fbgr1No+D/PnhQxArqnYT11Jjb3smhL2a5FzgoZPhqe/3iiEUA2P22ZN 8rGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704395961; x=1705000761; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ODG/WY+m1sczivh5xbMK5YbAXeuwMsG0RhioOZlpsCE=; b=peUSxqr/a2c164kzbFzEX3vmu4KXtTTMBiw6GeQnOmyHv7Q0L8Bb3Dq6K85bvVlIYO SC0hl8+fC3Vn93puWtOjs9b6nHnMMMB3+vL2+5uIVTOOqDXoLNqssCHA+0zahR1Z+4Ij MB6z6dAbo5HGFpcnwBiGHcgIuzynHXCmPyZ52q1rW/2P119kpduJBsQB7Y51vQfW5EOi URv+Ei5qjHOHlOCn6Z3FtiR54bFHHhtUtTB57IlX3mtaWRhG1ukwmzP/yC12jnaoTwM7 xt8dkrNrU5GDeG6qTQa/op+28gJofOaOnli4p2xjIH057jlRkuu7jyCJk2YnfZBklZKa mtng== X-Gm-Message-State: AOJu0YxQxoXgGegVb9w5OFXhmhtzR/dBijWuFbD9bIZhX690Rw35F8sL xuplAptzOqUqF/aAYP/MaGp6BuAzt6nUfA== X-Received: by 2002:a17:906:8464:b0:a28:dd23:df92 with SMTP id hx4-20020a170906846400b00a28dd23df92mr956515ejc.71.1704395961295; Thu, 04 Jan 2024 11:19:21 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id i1-20020a170906444100b00a279fa8b3f0sm6124817ejp.124.2024.01.04.11.19.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jan 2024 11:19:20 -0800 (PST) Message-ID: <3e3455a1-c540-4323-9d9d-95289a395c3f@linaro.org> Date: Thu, 4 Jan 2024 20:19:18 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: reset: mediatek: add MT7988 LVTS reset ID Content-Language: en-US To: Daniel Golle , Frank Wunderlich Cc: linux-mediatek@lists.infradead.org, Frank Wunderlich , Michael Turquette , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sam Shih , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <20240104173930.13907-1-linux@fw-web.de> <20240104173930.13907-2-linux@fw-web.de> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY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AO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/01/2024 19:12, Daniel Golle wrote: > Hi Frank, > > On Thu, Jan 04, 2024 at 06:39:29PM +0100, Frank Wunderlich wrote: >> From: Frank Wunderlich >> >> --- >> include/dt-bindings/reset/mediatek,mt7988-resets.h | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/include/dt-bindings/reset/mediatek,mt7988-resets.h b/include/dt-bindings/reset/mediatek,mt7988-resets.h >> index 493301971367..3f1e4ec07ad5 100644 >> --- a/include/dt-bindings/reset/mediatek,mt7988-resets.h >> +++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h >> @@ -10,4 +10,8 @@ >> /* ETHWARP resets */ >> #define MT7988_ETHWARP_RST_SWITCH 0 >> >> +/* INFRA resets */ >> +#define MT7988_INFRA_RST0_THERM_CTRL_SWRST 9 > > I suppose this argument applies here as well: > > "IDs should start from 0 or 1 and increment by 1. If these are not IDs, > then you do not need them in the bindings." > > https://lore.kernel.org/all/59629ec1-cc0c-4c5a-87cc-ea30d64ec191@linaro.org/ > > As a consequence, as what you are describing there are hardware bits If this is existing driver which already uses such pattern, then it is fine. I usually comment this on new drivers which can be changed. Best regards, Krzysztof