Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp458813lqh; Thu, 28 Mar 2024 07:08:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2LMOjs4RgXpfAYB0grlAdXQjT2zFUVz76ZaV9K4gdHu/Qmxtr+wNywG5z81hU0Tm70+7ItTb3ptC26bkEVYHSI7m5r1S1vjyfxkb5SQ== X-Google-Smtp-Source: AGHT+IHFtyIgbmMybA/20HDSPcIoetBA/SDVUTiT3tQhjLzDqOxfj91Xhu/MH3qGz5eCMo/VZO/n X-Received: by 2002:a50:bb44:0:b0:56c:4db:33f7 with SMTP id y62-20020a50bb44000000b0056c04db33f7mr2332732ede.10.1711634937327; Thu, 28 Mar 2024 07:08:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711634937; cv=pass; d=google.com; s=arc-20160816; b=VhSjzNTuAo4fCl80muV+nsacsc8j/k41p6XqIj2lv2ogV1XZbyLav5MnCQX3yrjygY w+UYz7YBtwE1+VO4MI/eHVYGskj72+7W/7SLDdY467gksRi6gEjLSlMK9ztw6J3afcDu 4jIaRSlHhb8a5ImbQSMBC8XMSwLYrz9b0tAryWZEgNan7+iUf0TAvKlopdhUO9tYNMMm lcN9uuRS93SY8ecdb02MQpcJA3fpXYU/oCiK7hnV5lECf7ts77AFDnmGw3XL8n2DUjh5 7xXORuELJsmlTo4rLtzuegjnnEuw9vX2Xj2wcVAKHr/RV8rFtrHtPuPwzV+iihUrSIF1 zLLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=wP+ZPQTFaT7dJC4++e1l/MpToBl5GmVhiDRKTTRN6DM=; fh=cQtzCJMhT3m0XzQloB0h/xNKmumgZTRTZ04EiOVQwGc=; b=F6UoPwrQKjwNW2LGtL62AZV4FW7iV/HR4dE1sltLuZ5TjhjvHkT6ntkdS+vYhJaYW8 YB/nyEpALmUTS6DqOvIYtaTkqCSjhkXl++LbaxO5U+vSuVTjJEUUBnZ/WPndZWfu9ec/ a2Y05tcyHxAWFEaxyO8L04toKXKwoPFLTdgl+IrMldIt1XwSOX0nX94dmgVeGP8TESuX W2iYMohXioK/98odpkdcJyn/5a6pc1dTWG5hMfZntayx89VvO9JbV0Y3UWvMWusZDljy BoJDasPopgfYoQ8PLAI0OYs0aNzQcpNaCDSzJTnBD3Gc63406B+730lgMKL/7Kr+ExCa k+RQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=azqFJHfO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-123029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v2-20020a50d582000000b0056ba0772ed7si830381edi.68.2024.03.28.07.08.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 07:08:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=azqFJHfO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-123029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123029-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E1ABB1F23F1D for ; Thu, 28 Mar 2024 14:08:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5C3E12A171; Thu, 28 Mar 2024 14:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="azqFJHfO" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 3541014294 for ; Thu, 28 Mar 2024 14:07:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634878; cv=none; b=pyR91VK+5mr2ct4pI9bDbmc3UC1xbURx2LAuKUYQpchkNhn41VxSYbFvK5gLQK5rMyaDTISTeZdNx7PMUqAdKQHEu3Ti+Qn/q7y/4YrwlY3nxjLAGv/sxiaC7c2wEAcI2ZmmJqMDFNayYaM7LzZNS/8BLMKyaEs5F2zEYOp4ABE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634878; c=relaxed/simple; bh=2k6ORstxTR1rltKyQtMpHECxE1qHT1fg/ZtPbRvBX2w=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=UdbpqpU7wfPfAOPDfS7tiX1L/qdWpgL932v6oi0RdKjX6m1GBpu7URHvdB7WvOoKgWtguVfTIQQbNHRHH31FLCq/vT4/zDcFt4uAa8l7MXVZAY3QFjAlzjcKZICisQpW50Pfoa2N2KyZxu6AVYCUs8WN4lR4rJLo1gX5bZBGNkE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=azqFJHfO; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d476d7972aso15446541fa.1 for ; Thu, 28 Mar 2024 07:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711634874; x=1712239674; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=wP+ZPQTFaT7dJC4++e1l/MpToBl5GmVhiDRKTTRN6DM=; b=azqFJHfO0F0lC77HL0+tIZxk/jYKN8YgZ1/FgOu2c7avf5oja94E3h8LxttKCL84Q4 flgoJmWUpMvTfOsJbwNC9674CvYbqCC/8Y6V40Ws+VCga21VPBFtIcKcaRSVhH0PLroT THuf9BGUTyrrPkzUW5r3/zSziF3o59CTi7GJa+bfDowjDaZZesjA4GF+jdP0Ajj5NG55 ZhT9cZHf/ewZHmqsAYxzaJ2898LBtRLokRmOZGNycAZkgpIYv2Y2mDPBtwD52rYbyAoY s8BRwayWGs+xKc0+zZ2DinVhWq7OlD9q9872sdSo6VexroO4chnzZunf1hbsDYNtY9rS 20Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711634874; x=1712239674; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=wP+ZPQTFaT7dJC4++e1l/MpToBl5GmVhiDRKTTRN6DM=; b=jXzpueK4CM63I1Nq/LLu0DY7EEF38+NDQLIEI0T/inA0CFNVIkV5g7wPq0QU8pFpMu VDj0Gs6tjMasPGrVp6N7CwyOuvx8GwgQXml+7ATX67zwXfNW+s2E3FNpvQzhqpz0Qz6j 2yUmnchYEpjXyHqUgrz4EMG/Qh/HTG4J+RaO7gAZr0Fm2FMFyYhztt1vq/6vhav5Nulr 5cVCGOXQISnNEmQQD/HBSC56zkqEaZZhA/lVdFCqrnn1QjSNrq7JRp+S9ekEjhny+N7A 4lPrrava4gg4gDnyNZ/G26d5shfw9lpYstAylLNE88zqeHrRrmFwRlPDYx2vcPNKlY8i b0lw== X-Forwarded-Encrypted: i=1; AJvYcCXbefitxYd6Epdrp7wL6sRdS1HGc+wimud9bfESOePN32d5izM/2dMiyhAOW7gMXUdflku8k1LWcmEDFp+g0uOiXIjMUnBGW41aG+zd X-Gm-Message-State: AOJu0Yz+7rdI7M8s2KZ365Bt0zMoqMlx8IBTyP0u2F9rC7lCSQ5DYFYf SIPUvNaCFvO+PnRDYK1kFPtETa9ZQtCW4atRCGL05H8cnTyejaUa1zRfFVj7FEw= X-Received: by 2002:a2e:9156:0:b0:2d7:f26:9a9f with SMTP id q22-20020a2e9156000000b002d70f269a9fmr731480ljg.4.1711634874273; Thu, 28 Mar 2024 07:07:54 -0700 (PDT) Received: from [192.168.7.190] (82-64-249-211.subs.proxad.net. [82.64.249.211]) by smtp.gmail.com with ESMTPSA id m28-20020a05600c3b1c00b00414688af147sm5555801wms.20.2024.03.28.07.07.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 07:07:53 -0700 (PDT) Message-ID: <19897482-2fa1-4688-aeec-855123558374@linaro.org> Date: Thu, 28 Mar 2024 15:07:52 +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 From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v1 1/2] dt-bindings: thermal: amlogic: add support for A1 thermal sensor To: Dmitry Rokosov , jbrunet@baylibre.com, mturquette@baylibre.com, khilman@baylibre.com, martin.blumenstingl@googlemail.com, glaroque@baylibre.com, rafael@kernel.org, daniel.lezcano@linaro.org, rui.zhang@intel.com, lukasz.luba@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: kernel@salutedevices.com, rockosov@gmail.com, linux-amlogic@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240328133802.15651-1-ddrokosov@salutedevices.com> <20240328133802.15651-2-ddrokosov@salutedevices.com> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA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 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240328133802.15651-2-ddrokosov@salutedevices.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. Thanks, Neil > > reg: > maxItems: 1