From patchwork Fri Jul 19 12:08:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 13737250 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8DB9BC3DA5D for ; Fri, 19 Jul 2024 12:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s3mF2LZ2ghyJSjgTkkt5iV7uLpvClwedPpIveDotTwY=; b=SxRUZXHO/T/Qk4hJK321v1RLw0 JVgeKDRQLHYuGG+oIKNHOrqcZ2+x7GtQ6KmfRxiUvVdIyUIgZlb8LyKEHO81G2SZMg/S2PRJ0v1L+ HOUpDAMByPzlBHM7ETY7Xr1USHvWa3+hqNOVpeRVF2gqHo529Piz0JkRNNdjYg+pKu/L8fnwFkAuU iB9efY1XCxangmPakL0yqhS/JDR+Fj7gvhP1Tx4jpJnKVo4dUYpFyJfM4jX4zXWIYHNQMmYkxNxyh 5jqjnLK2Ls0OeozICaM8nu4BOqlTseMmGmtnZ0fbX8e/ikzkf10KvK6XSMcWytzJeJ866YHZQqzY3 ddGQCbJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUmRp-00000002auZ-48O8; Fri, 19 Jul 2024 12:10:54 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUmQo-00000002aZb-2L4p for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 12:09:54 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240719120948euoutp02471d4687870dee98d656aabfebbb8de4~jm-vRLYCR2292422924euoutp02o for ; Fri, 19 Jul 2024 12:09:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240719120948euoutp02471d4687870dee98d656aabfebbb8de4~jm-vRLYCR2292422924euoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1721390988; bh=s3mF2LZ2ghyJSjgTkkt5iV7uLpvClwedPpIveDotTwY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZpTiFt3jeTMIRCFoq7oE01j/nYrwcy5D4Mig363HoRaEGfakx7F1+JtwiqdQ7gMcA 4TSiLW6MnghXYNJjmKStfZe6grpp8gsrN8IT1jzv7Jxo9eY9du4D4gVgpUm6a99vSN 8bRBCcdOtn1znitT7weSPtW1wHuJeWcWZazOMy1w= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240719120948eucas1p10a3ad078ffc22289a03f0a513f5d76b6~jm-u5QPLc0448404484eucas1p1Z; Fri, 19 Jul 2024 12:09:48 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 89.DA.09624.B875A966; Fri, 19 Jul 2024 13:09:47 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240719120947eucas1p1344134823e100feaf49238de0e226431~jm-uWbRUq2870028700eucas1p1w; Fri, 19 Jul 2024 12:09:47 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240719120947eusmtrp1485f7090bab0f83be990b7d925e3e018~jm-uVvhTC0596405964eusmtrp1f; Fri, 19 Jul 2024 12:09:47 +0000 (GMT) X-AuditID: cbfec7f2-c11ff70000002598-86-669a578be80a Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9E.85.08810.B875A966; Fri, 19 Jul 2024 13:09:47 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240719120946eusmtip117a8b881459e2782bfcf9ea80ab6e31a~jm-tj4fA00607006070eusmtip11; Fri, 19 Jul 2024 12:09:46 +0000 (GMT) From: Mateusz Majewski To: 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 Cc: Mateusz Majewski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar Subject: [PATCH 4/6] dt-bindings: thermal: samsung,exynos: add exynos850-tmu string Date: Fri, 19 Jul 2024 14:08:48 +0200 Message-ID: <20240719120853.1924771-5-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240719120853.1924771-1-m.majewski2@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGKsWRmVeSWpSXmKPExsWy7djPc7rd4bPSDJr6zC0ezNvGZvF9y3Um izV7zzFZzPssazH/yDlWi/PnN7BbbHp8jdXi8q45bBafe48wWsw4v4/JYmFTC7vFxGOTmS3m fpnKbPF/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-CMS-MailID: 20240719120947eucas1p1344134823e100feaf49238de0e226431 X-Msg-Generator: CA X-RootMTR: 20240719120947eucas1p1344134823e100feaf49238de0e226431 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240719120947eucas1p1344134823e100feaf49238de0e226431 References: <20240719120853.1924771-1-m.majewski2@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_050951_253456_E7C5BA80 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Note that unlike others, Exynos 850 does not require clocks, hence we have to be a little be more specific about when the related properties are required. Signed-off-by: Mateusz Majewski --- .../thermal/samsung,exynos-thermal.yaml | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml index 29a08b0729ee..4363ee625339 100644 --- a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -27,6 +27,7 @@ properties: - samsung,exynos5420-tmu-ext-triminfo - samsung,exynos5433-tmu - samsung,exynos7-tmu + - samsung,exynos850-tmu clocks: minItems: 1 @@ -69,8 +70,6 @@ properties: required: - compatible - - clocks - - clock-names - interrupts - reg @@ -82,6 +81,9 @@ allOf: contains: const: samsung,exynos5420-tmu-ext-triminfo then: + required: + - clocks + - clock-names properties: clocks: items: @@ -105,6 +107,9 @@ allOf: - samsung,exynos5433-tmu - samsung,exynos7-tmu then: + required: + - clocks + - clock-names properties: clocks: items: @@ -132,6 +137,9 @@ allOf: - samsung,exynos5260-tmu - samsung,exynos5420-tmu then: + required: + - clocks + - clock-names properties: clocks: minItems: 1 @@ -140,6 +148,20 @@ allOf: minItems: 1 maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos850-tmu + then: + properties: + clocks: false + clock-names: false + reg: + minItems: 1 + maxItems: 1 + additionalProperties: false examples: