Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp475266lqh; Thu, 28 Mar 2024 07:29:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVwChjeY2wvlM/U+Czjt2AKrJneK9Fp4fXOFgGS+bzVZJpYs0gZXZPf1b+YtH19JuM5fR+p2Ej5lYzAYY7mo1nyGMir2tIv+Mi95Y3SCQ== X-Google-Smtp-Source: AGHT+IGFBvbf9S8y5z/z+t1SXXgJCWbJxw8h7p1JN16ubPgo90NVeTD/oHhM9GbdU/rRLqr4REZl X-Received: by 2002:a05:6a00:18a2:b0:6ea:baed:a15c with SMTP id x34-20020a056a0018a200b006eabaeda15cmr3707416pfh.4.1711636166460; Thu, 28 Mar 2024 07:29:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711636166; cv=pass; d=google.com; s=arc-20160816; b=sEiHYPWIBNULe15e//IfmuPgriJpkm89AdUyfr+OHuMijzmF1Y6tl8zhBjHxPSfrov Gk6NHbSjROvGOa2u085Q6neKT+1ir9rZ0X9nj6qR23mrz5lh/JZdz/l2c58WTYvfBsGb fK3ioBcxlGrlmDqrZH8lGe9nHHoheqOT53qBF1P7BhAvhT3TnpqeNqNw1j71FYylgCxz pZVxsgHDyJPBAVwlBq5bxOToh0jtZFM0ryEXS4UCFMMLaAPxALYtnNjmKGvKUiHX+D5N BK5n0RMST08wMwqP49Hl87UEMCBq0H08m1KivsAzo2Ra+kLoEiqdNRUDowUWAkFOaC97 O2+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature:dkim-filter; bh=evQRgmgfpBfE7ABI70oDODcWR8kPQd8V040QqDbhPSQ=; fh=2uYZz5PjjVy6X4BR/tgHpFjjzMoSvsidIzujpRB/LEc=; b=vnafDaE4MLUYH04A6TZQTQedYzKcBhiXQh1Qip350Up3F8T9LARuXXsQJKcT1LBWq2 KWBHJi6gmzNbinX3TxlLEvh4z2E9dizR0DBywnTwBQrf6QD+4QOCOREIGEtGo/AFY/7A arwVE/txkkmnZkxBNX+YiQuh9gVoJEzRNY9qu0fQzKe9pjVWVy1rDe9bKqd3aRFMYz3O eqzYHKzrDr7w0JN2xnjmVHhHB0omAbumxVCI+kz5nZmjDYvrJP0S0p4ZWDd5xFya5cvJ hXcaqH2nkAxU7VycD0TMC/yUEfMqDirjqq4L6SIzf2Bhq/M7bo30RNVcNU7A4bqnVavJ 6HKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=oMB4Ha4F; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-123069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l129-20020a632587000000b005dbde399b23si1448000pgl.901.2024.03.28.07.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 07:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=oMB4Ha4F; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-123069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 56433B21ACD for ; Thu, 28 Mar 2024 14:29:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21F87128382; Thu, 28 Mar 2024 14:29:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="oMB4Ha4F" Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) (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 BE0687E775; Thu, 28 Mar 2024 14:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.18.73.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711636154; cv=none; b=V5G5P4SQQnhwXJdaFmGPmhrTn+ZVHluq+33W+asxmhysDrGtWH51G9sqqPVxgKXoHfoOyKLGGlVLOyJ0AE/juUraSdCaoCsjILKcG5lEl6GasSiGHhD+EjCZZkQPQwxeemBs/2eP+QN/nrwPbhLHBX+6bXNdn7J01TGfUGH+fJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711636154; c=relaxed/simple; bh=RgIsN2+9YTTR8Ah5iuVZwz4NadsK+VqbP0f38xQ2Pe4=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=O3B+wQ6Can2tLtiFmKMwAnpEdcp/P0ZZtw4t3Sh8yG337awVERJzXboLTqv5l7GnSVMr59uBQS4umedm+pBRn0Vf7w8hguLOCxWR6oAm+yOWk2m8efcURTmWAAWCfVZJTj4/ozJSfjpVX69g37XNu+vxqCwy36YyigEkISS49x8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=oMB4Ha4F; arc=none smtp.client-ip=37.18.73.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id DEDE310000E; Thu, 28 Mar 2024 17:29:06 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru DEDE310000E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1711636146; bh=evQRgmgfpBfE7ABI70oDODcWR8kPQd8V040QqDbhPSQ=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From; b=oMB4Ha4FC7ybfhcUSoswKvOJhUj29Bq5Rd7h9qEdYDfmYH7X6DJiSC3G3MjYM3NY2 Q6AEQZ0Uehd+MoAVb6NF6Tc+smi0HRsRNtne5+hMWylFb81NajdGQTQnMX7Pa3ljjk 7cydUzFlqQR/nVUHzL8PYiEArvuxzgVzoOznVGd5UsK2045PhR3qTFE72O4+sRZmVQ Y2NkNOLFaYacssXKdGiaIv5mGrUwvEYWoel4FmFgrNEwJECRldQ2PWBrU16zqCosGq pi/X9Z3buwa97hVkDR2yKV5KCw2wbBVA9UJj7F+ovgEgl2yFMDJPAlAE1G4W4WbGKG d/kIiQbh6xIbA== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 28 Mar 2024 17:29:06 +0300 (MSK) Received: from localhost (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 28 Mar 2024 17:29:06 +0300 Date: Thu, 28 Mar 2024 17:29:06 +0300 From: Dmitry Rokosov To: CC: , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v1 1/2] dt-bindings: thermal: amlogic: add support for A1 thermal sensor Message-ID: <20240328142818.5mnktmaq2dctos6o@CAB-WSD-L081021> References: <20240328133802.15651-1-ddrokosov@salutedevices.com> <20240328133802.15651-2-ddrokosov@salutedevices.com> <19897482-2fa1-4688-aeec-855123558374@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <19897482-2fa1-4688-aeec-855123558374@linaro.org> User-Agent: NeoMutt/20220415 X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 184473 [Mar 28 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 14 0.3.14 5a0c43d8a1c3c0e5b0916cc02a90d4b950c01f96, {Track_E25351}, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1;smtp.sberdevices.ru:7.1.1,5.0.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/03/28 12:54:00 #24494464 X-KSMG-AntiVirus-Status: Clean, skipped Hello Neil, Thank you for quick feedback. On Thu, Mar 28, 2024 at 03:07:52PM +0100, neil.armstrong@linaro.org wrote: > Hi, > > On 28/03/2024 14:37, Dmitry Rokosov wrote: > > Provide right compatible properties for Amlogic A1 Thermal Sensor > > controller. A1 family supports only one thermal node - CPU thermal > > sensor. > > > > Signed-off-by: Dmitry Rokosov > > --- > > .../bindings/thermal/amlogic,thermal.yaml | 14 +++++++++----- > > 1 file changed, 9 insertions(+), 5 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > > index 20f8f9b3b971..0e7f6568d385 100644 > > --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > > +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > > @@ -13,11 +13,15 @@ description: Binding for Amlogic Thermal > > properties: > > compatible: > > - items: > > - - enum: > > - - amlogic,g12a-cpu-thermal > > - - amlogic,g12a-ddr-thermal > > - - const: amlogic,g12a-thermal > > + oneOf: > > + - items: > > + - enum: > > + - amlogic,g12a-cpu-thermal > > + - amlogic,g12a-ddr-thermal > > + - const: amlogic,g12a-thermal > > + - items: > > + - const: amlogic,a1-cpu-thermal > > + - const: amlogic,a1-thermal > > In this case you can just use "amlogic,a1-cpu-thermal" or "amlogic,a1-thermal", no need for a fallback. Okay, I will send v2 with only one compatible w/o fallback. -- Thank you, Dmitry