From patchwork Fri May 24 14:31:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 798836 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 8F10612BF30 for ; Fri, 24 May 2024 14:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716561119; cv=none; b=SpKnCzclWHtJuso2JYMAvU0R05ffnx2e8l9y9L2WXIaN0fcSQ8PhTCH5MKgu+fTZN+zg7tk+ZDlbNXAqDqaz3dmWsfg5/6+3xa1O/5PeGYVjtjWeMtdUx0+SiuE/6ahATKjVoKuwzlzMezNd1JwLIJBXaABVcqUozWrS4/Y65LQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716561119; c=relaxed/simple; bh=rnldv7833XODCkkhE2IoJHX1ijFNhpuCcMgGUEpMC7w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FNmrPHf27dlo0VcriVDLxRXf2gtlp39n3HtPpNyy+Dok7HmjiErhLSo328kNg3gw4nn25Zfrj5vlLT904TugBIDNuYsO8NGSbwY7tL1zX+ZXr1hHFHqb3K0GjS+lxcgiku4OeZCi0yF0Fz72/FP7FjNIojKEsUIKVlioA+oPckE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=rpyKTH5i; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="rpyKTH5i" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-42017f8de7aso66198255e9.1 for ; Fri, 24 May 2024 07:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716561116; x=1717165916; 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=SJ3mx1HRwERqoH8XmiCBcC2qPne8ED2LI938/bq1eLA=; b=rpyKTH5iQvriVyQD9mnPFPiJuyP0PXkrW+qDjdhDArRSrkNndcJ7XZuSorzwsAspCH ByKOyD+mKqoeQoQYrtQ2ihQQx7pafWGC5pxFHOMJe44JMvj8NdZZ7hRIwpdKGjWUW1gY 6aGICS8m6/gI/5Ige1l9vmHmlfe3cQUZJQelXFtyfcwicuzoHbaTJPJ3Ira35WdHZxGg T1KLm8fE49gRAAG/nysHvEUAkq8eKUXj5IZ8C9KrHnYRND0iWdQocMjmkstwRM0PiVC2 tRC5qbhFL17ap3FlUrg47jHRwsAfwzV670AcseVot1k2ciuIjIWSfQ6BIcoEZedIQtnR Nhrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716561116; x=1717165916; 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=SJ3mx1HRwERqoH8XmiCBcC2qPne8ED2LI938/bq1eLA=; b=gyw68vzNt9l+KMgElApTXvckc8wC/NT9ZCiEQeYTTKw5E8o4UrNRoMpXXSPTmWRK+8 J+ER1740J7wI5djXrvw5W+BRh+C+0dnZZ87/aEVwr8Frd6GcYysqDc+FwWDms3+vV3EL 7IFcuXMuPAEdslc8pQsMtXWE0m8LyEP2/4yw2PZwoUAvpcPZW8IYxUEVJQDq+FrBKHFb xmhHvS9hPLIvvVasAewDUOavIg3KC8k94HcgxABnF9C05gR9G/tRe7sYjqeahk1eH7Ou H2AiDRMT1r5jhX0t7zGIgds2UoptXejB+LY5U1oV2P7WqfNdU3KUOnhfvfkmfHutrOpY uAxg== X-Forwarded-Encrypted: i=1; AJvYcCXIqbVOxfrOyVhybEgtAoe9N1ZdJndMZ52DNvNYPj8IvB0ZYKSv3SVXv0B6Q5eSYMRcjoXuFJUXVkuDxIYJZM72pcYGHlbEgAc= X-Gm-Message-State: AOJu0YxIrzanX5MnCSU/RfSoU1WcD20yQF+tulXs4oel9Pfr9TENgqPy LXOJ+drm4PgUg654m5SOYoo/2bRn+SMX12AAjM5FDZnIp1d7zgDLNpMC/G5R1F4= X-Google-Smtp-Source: AGHT+IHeazyAYbEcDfkZpobbZA+PYRdLXkVlFupJmpkvVRjYWEJntrAScewAKlYFPKugfsjlI9OUkQ== X-Received: by 2002:adf:cd91:0:b0:356:48f5:437b with SMTP id ffacd0b85a97d-35648f546camr1349067f8f.32.1716561116049; Fri, 24 May 2024 07:31:56 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557a090c2bsm1719611f8f.59.2024.05.24.07.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 07:31:54 -0700 (PDT) From: Alexandre Bailon To: rafael@kernel.org, daniel.lezcano@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: rui.zhang@intel.com, lukasz.luba@arm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Bailon , Rob Herring Subject: [PATCH v3 1/6] dt-bindings: thermal: Restore the thermal-sensors property Date: Fri, 24 May 2024 16:31:45 +0200 Message-ID: <20240524143150.610949-2-abailon@baylibre.com> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240524143150.610949-1-abailon@baylibre.com> References: <20240524143150.610949-1-abailon@baylibre.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 thermal-sensors was defined in thermal.txt but when the yaml binding has been defined, its definition has changed, dropping support of multi sensors. Since we are adding support of multi sensors, use the original definition for thermal-sensors property. Signed-off-by: Alexandre Bailon Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml index 68398e7e8655..fa7a72e2ba44 100644 --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml @@ -93,10 +93,9 @@ patternProperties: thermal-sensors: $ref: /schemas/types.yaml#/definitions/phandle-array - maxItems: 1 description: - The thermal sensor phandle and sensor specifier used to monitor this - thermal zone. + A list of thermal sensor phandles and sensor specifier + used while monitoring the thermal zone. coefficients: $ref: /schemas/types.yaml#/definitions/uint32-array