From patchwork Fri Jun 14 09:46:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 804639 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 2E5EA194AC9 for ; Fri, 14 Jun 2024 09:46:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358399; cv=none; b=epUconxzFm2kW/IjvnXuNuzBfV0jzf9VA6aRlQhcC6SMCZ9S62/JQdJNvxnYuyjtQXgsnamLF+MIcDFL9xCNNGd97bDVjuUIVZh34ZSbN5PoLQpClppsYvVuDPlPMq3lu9M4tUVXbO4M/ytauEaoGoiuBl4PeaS2UIQNbHXZNvY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358399; c=relaxed/simple; bh=OL1bThiSTDRnxDnX7dUSElkuAerpOnM4wbDcCD9Dzlo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gjIvcUson3I0T3I+gH4oGpanWFP0BAbj1d55Pn4w92TJ4ZI7OQ4Z+t5N2gb+5Nl11Ow+R87HW8YTj2xLVHQJPSB1zvSQfTcdD1lxQJ9JXgbvSWhGM3apP+GnXPIUACV5Waxb/5tOSyHGSJc8p6/L8kzSFlAY+mCjnykJpGORqek= 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=Qhb+Iroa; arc=none smtp.client-ip=209.85.208.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qhb+Iroa" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-57a30dbdb7fso2912249a12.3 for ; Fri, 14 Jun 2024 02:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358395; x=1718963195; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5rccL2DhMpg13ts9Hqjm/6zzy9zUKGOuodol16mwTeU=; b=Qhb+IroazVKAZqP43c8r3si5rTD3cJu8gBozAl5y7TQJcwm5l+LiyIXZpJiwKx/5NT LGGMperyZgbpJrgJ/xyJ6k+BRjH8QOtcLzW4QnDtnuM3NonHy50lH7V7o16fN29xbA8w fJmL9NaKxcQA3bonNZTiMF8yRXupPUSI6rm90xlA7BKoMkHRQNX0FALAlK/X0cSaHke4 fiLUOEkseNSht7IHmIajbnjVGxvok3Tk4yfkXxnTTsgXoxVkWUcN6eqpVLZXGiWCs5Mc 2htMxOrD4TMvNbQbYB4N8gB9YYuZ1FuMxUyt/SbkHYmM99j1oweSB22ajt2F9O1Qp9Xu o7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358395; x=1718963195; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5rccL2DhMpg13ts9Hqjm/6zzy9zUKGOuodol16mwTeU=; b=DH23ZL1pTfjIEGMCFKesli8NB3Urh37O4tgfJbxvBqTkWdyMh54LJhejqN9tztpMSL N+otWcqroH9U0KcTlDXq1+zKErqxBpqZDLWz4iK4qXbhs5Myh+j51LBKBe9UMdfRLkF9 STih+Nd5gOZYu4LpRE/1LWHU4ha4THfsTCml7gzRhukKVcuKLyKkMR36dZlyYgW7o6X0 IqoZROuFdshuwRlAB6v5MlBKO5twzlVxuKj5/ZRRKZdEab/rnEHlIcnj8HCE0B+Ty2XQ rEioPxHY1TLwcFOSjNimo+qiB6zl4mBds9nrU7jtfTUR/9Qutf4b7fAYFV2QW2TCIVGw Jxbg== X-Forwarded-Encrypted: i=1; AJvYcCU+r0y6X9iPSJR0K2WHr/8yQAyZtIRSxvU7tWOVQVfYjMfmp0+gutK40JP19vHUgWmuE8RNz3yZfXkYGnN13HKaw+qmC+hkiBg0l65ZgC04BB4= X-Gm-Message-State: AOJu0YwIx0LrvHoA7XEoVBdIVZUySwhnx0JoLBi/SLFon+tcE0GvMduL 5etLt/g9OoGZIebwl6/h4Giaj0Prmp1koYj3HU8RJ0ixD5169exfwt56nSLOoSw= X-Google-Smtp-Source: AGHT+IEIIi7f/khX+DL0ElnKeXbkTkqu3Do2h2qNKYCQfUhMKe+WvRGDBSKEB/3Hlft5tLx5w1488Q== X-Received: by 2002:a17:906:ecb8:b0:a6e:fb9b:6769 with SMTP id a640c23a62f3a-a6f60de5fd6mr154292066b.75.1718358395585; Fri, 14 Jun 2024 02:46:35 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:35 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:01 +0200 Subject: [PATCH 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-2-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1065; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=OL1bThiSTDRnxDnX7dUSElkuAerpOnM4wbDcCD9Dzlo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFhz93LdRptZhTU1GW4iGarOwOO5EBiFYLFd wFDJHK7K/qJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRYQAKCRDBN2bmhouD 18s9D/9LP9unfX0MSkgXF8TFjscV8gcBK408X/8oxDWBhIrJxkLZCwMssuTlysHZ2OYfyKJHsGx G6Y1+icUV6gklZsPxjJ03/jABHwNj3xRb9AQPOwWQ62xpX/+zxQNNaEcW6AKyNmY90EgCBRRrwx +zhCuMur8Gg6isM+gl3qHVZsMSALb5gwAMQDe3KP7A2Sno1hJw+giAAb3KI6FtfvevD2XtkMgab x1xdWHM5YlOGmNi6acFw/2dtzcokVRiNbkNGuBpupXWq+vZL0n0mPr26qRUOIGhKqt/t5xQsemZ L+Mr4ASMWruC2cyuxRkPN6WXiOqU2PWSej9kVH8O1xuNjE4e/PQHH91KA761ii2PhPs/7y+OwqF pctdv1ol8AqI0F3yHRz/o1pCSJ8swPRC9vEXoLIwXfRYvwqouz1kVDofMzUcA302kDb5yZk+EgG 9KCfyKlubN63juUO4jfkwe2WzfAcEXpi7GKMv5Gky8SLAPPRYoGewIbSvc/Zog++OvMxg+kMDGp +C9mjIWV+rrT6bt6c5KjBkE/42bqZ5THaEoLUfgzGuhP/PUHKyI5JxC3F+owxWNpfB7kDtFeA3z Yk0Am2y1AAsjqTGzDLnMJpNuFIZZoghdpcYJXcGJPZk+cauVsVa4n9fxRsSpvMdZFo6Fl7Qrb8i h+5fgjivCVGsZIw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and all in-tree DTS provide '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it, bring the common definition of '#thermal-sensor-cells' property and require it. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Guillaume LA ROQUE --- Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index 01fccdfc4178..e52fc40e215d 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -11,6 +11,8 @@ maintainers: description: Binding for Amlogic Thermal +$ref: thermal-sensor.yaml# + properties: compatible: oneOf: @@ -44,7 +46,7 @@ required: - clocks - amlogic,ao-secure -additionalProperties: false +unevaluatedProperties: false examples: - |