From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 7263231B825 for ; Mon, 27 Oct 2025 18:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761588106; cv=none; b=mnDD6bBS4616U0mm4zykOOGldAmR05vwSvyhbblIXK+HYx4JqaavL+uWvDQDxUvoe47n1sd+/uPZ3j6jrZtZ3XGqGin70rS5Q0T0oI0mbisTtIFvy4+0wZMK2Qa2FXre9r5JjpFIOdKIYpIS8TPN9YmqMzrlGzDCDSUPpImCuR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761588106; c=relaxed/simple; bh=LmXKYxgq5l0W1tOnLSE425z4xENAzicgJcfmXTzUxfg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bExx4DvFm8W7EV5FswuXKAp5xjfhUMwkH9dyugiTYtevu/XpXjBMI8NQPxyjabMDOq4gz7Bv2tfr+WBt0wavklo4HOpgawtclXUnXIz1DxWfmmpKVZsYYWHY3SF6gc7mmcsGZ5iYvSW5qSSJY5a+DA1b1mD/JvHVu9nGdFMaI7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Tx5moz92; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Tx5moz92" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-42966ce6dbdso3614884f8f.0 for ; Mon, 27 Oct 2025 11:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761588103; x=1762192903; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6aYSYqxdTQx1adiba7waOFSEBjrwgCAPGP21S/4z0WQ=; b=Tx5moz92OOoFHoRRXwIYJebf6dF5m3mqO4VQjP59hFXZImi51pdi3e0QbL1AweBYiS VXXooAHpLDwaZSy2zCJ4Rc+gdqDEJcuARq22s/gzusWQRZD8rr3N3xZl3aXg35f84628 VMfqlI9elpdll9HXGvsAXFKSK94dJjVYuplDslwbc3VAVkJurlIBZPSEeJ13vgRrZXY/ 5SA83jgDGcZLzdk0ObBPIUC2yDRKb+rSa4ieKq1KRqj16FFKK5D5o98NICeY2+kN6eDu F53XSetxkp0+s7yZvVgh1SfySBPv0PI+JIUbkG9EwFCLxshx4fwWRQMOvL0l1aUtBbiU 1XEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761588103; x=1762192903; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6aYSYqxdTQx1adiba7waOFSEBjrwgCAPGP21S/4z0WQ=; b=R7FoJlft98448ymf2FutF+kOuu5QnaNB8skvsF6/3zxJf5Y9FQvsu3qG2zvc8Mm1CB DctlszmhJ/UxSCgpu07eFlUIwAuJSe8TPqS/vz7qWCt2D+7sppWuXVMka7H6o1rhORMG 8i2mxla2GkU7ScesSwz8O5aefGcVJqINeqBiFQ9OZLzzx+TKPH281NSH4drYCjnB+JxH Y6ZWem4qYDiItt8w1FzvSqyB8v1PJvPkpsaBqwu7wWvEeXGcDBY+hu18u/Jjc4Vxx+1q 7mJON54x89d40UWEQ+6FSEBVXg1sp5Evsj7Tf+HkwwDkesms4uJiARB3KSpf9AN25Fll YuQA== X-Forwarded-Encrypted: i=1; AJvYcCWRu9WxU7b0sBgYY1p7YUByZsVI3uhTdXufjWbmXDs8jKvKf18yCQxQEBrxuVB4HhomxQ7gSrpfrsJYGRs=@vger.kernel.org X-Gm-Message-State: AOJu0YyB/1rMQuNC6kLJZRjwzCMFACbGx2+sHRN8ANfK7GGAZDeZ67JS yNDq9Ikcp2j+GiGRz6x9lohshkEw09/nBGcgqJJtqEg79yskJR9hdt/b X-Gm-Gg: ASbGnctP/vuXb8YtQTBdflZXSKewbre30v3apao+lZN2cv5/OQG1GDCDwK+lwX/IA1X +HB0rCscjBjnw1jciWDBBQk8rXhaEIB8luMLd8UtbtEOa1qVYMTWo8T9IueoPLAOh4KVdDz13Op 1Qz2lz1m4YfVI5MW2jTmtsCGpF+5tr7fFAUzG9zCdG0ZyKU8IDDeJdvA/LY1rBwuKJA9pOEuVPm H60lQGyVh/yxkZKSI7kRvNnHjGFFInfabJsL/mRBG2jIOH03ZCTQeFuljkJs0skt6vryoWJY4tb unKmL/N4OrEp3iVxJ34YsetyCjEm9cIYv22t7U43b7k3Eyu8TbVvQslmE9ZrWOmTrnXxEmqil0P 88rsXSUXhpPJp2ni0wDPECNk7ohCLljc10YdFWt8CYArLRmrfm+Wn43m78nXaKfnE23wOusqr6Z I+VDkDvhlwybzHYeVvn0VPc1V1hhZdYpFVucYOovFioJtRnI4i8LyujBgEkib1JOz2m8pY X-Google-Smtp-Source: AGHT+IEqakiIVgvkmH1mzvZg1woizmOdLx0SAbkLPTVvCw4c/LMFkRt84r69g+UhZ/bheKm0gmAdSA== X-Received: by 2002:a05:6000:25f4:b0:429:a7f1:bdda with SMTP id ffacd0b85a97d-429a7f1bf31mr546028f8f.47.1761588102726; Mon, 27 Oct 2025 11:01:42 -0700 (PDT) Received: from jernej-laptop.localnet (178-79-73-218.dynamic.telemach.net. [178.79.73.218]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7b6fsm15648567f8f.1.2025.10.27.11.01.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 11:01:42 -0700 (PDT) From: Jernej =?UTF-8?B?xaBrcmFiZWM=?= To: iuncuim , Rob Herring Cc: Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Samuel Holland , Philipp Zabel , Andre Przywara , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/6] dt-bindings: thermal: sun8i: Add A523 THS0/1 controllers Date: Mon, 27 Oct 2025 19:01:40 +0100 Message-ID: <1935223.tdWV9SEqCh@jernej-laptop> In-Reply-To: <20251026210905.GA2941518-robh@kernel.org> References: <20251025043129.160454-1-iuncuim@gmail.com> <20251025043129.160454-2-iuncuim@gmail.com> <20251026210905.GA2941518-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi, Dne nedelja, 26. oktober 2025 ob 22:09:05 Srednjeevropski standardni =C4=8D= as je Rob Herring napisal(a): > On Sat, Oct 25, 2025 at 12:31:24PM +0800, iuncuim wrote: > > From: Mikhail Kalashnikov > >=20 > > Add a binding for D1/T113s thermal sensor controller. Add dt-bindings > > description of the thermal sensors in the A523 processor. > > The controllers require activation of the additional frequency of the > > associated gpadc controller, so a new clock property has been added. > >=20 > > The calibration data is split into two cells that are in different areas > > of nvmem. Both controllers require access to both memory cell, so a new > > property nvmem-cells has been added. To maintain backward compatibility, > > the name of the old cell remains the same and the new nvmem-cell-names = is > > called calibration-second-part > >=20 > > Signed-off-by: Mikhail Kalashnikov > > --- > > .../thermal/allwinner,sun8i-a83t-ths.yaml | 56 ++++++++++++++++++- > > 1 file changed, 53 insertions(+), 3 deletions(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-= a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a= 83t-ths.yaml > > index 3e61689f6..b2f750ef2 100644 > > --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-th= s.yaml > > +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-th= s.yaml > > @@ -24,18 +24,23 @@ properties: > > - allwinner,sun50i-h5-ths > > - allwinner,sun50i-h6-ths > > - allwinner,sun50i-h616-ths > > + - allwinner,sun55i-a523-ths0 > > + - allwinner,sun55i-a523-ths1 > > =20 > > clocks: > > minItems: 1 > > items: > > - description: Bus Clock > > - description: Module Clock > > + - description: GPADC Clock > > =20 > > clock-names: > > minItems: 1 > > + maxItems: 2 >=20 > How can the max be both 2 and... >=20 > > items: > > - const: bus > > - const: mod > > + - const: gpadc >=20 > ...3 entries? >=20 Because old variant uses "bus" and "mod" and new variant uses "bus" and "gpadc" and none of them uses all 3 entries. Although, I guess we can simplify and just use "mod" in both cases. Best regards, Jernej