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: 813523 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (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 6FA5213A89A for ; Fri, 19 Jul 2024 12:09:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721390998; cv=none; b=RZrWQu2Gm90UH7B89863Z5jeNyFYDRLm/l6+LOy76w/NxD2nim3tZ4b+OYX/A8eHlxp2eH1GY+dQJKKJu3JD5cNzh2vb7MYPEFNW5dQs+qgCNVJrvJRczcoKaYIcQGkmiOSd7/g51wv4KQEuVmUuoExLqvW8GY66Ox1lV7B+5gE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721390998; c=relaxed/simple; bh=vu1g3g08bthgCSc+u5QDIWYclXTqVwOm8qrwDEGKMh0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=Vc9dW9LYhDuye1E5KI4EPBBoTdPFaXEpl+7qStDzZTyeNi6Z6Cca7+BGDdJJ4VwRAJKK42pP5USjib497WiQLasTfR2PLIdGM2zjCJ2QOZLLdoPPYlHKUqfVdNatyBVUhbACqGxw+p/kLjMA0AKs5ruon6ZNeS0tO9iq1xNdilE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=ZpTiFt3j; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="ZpTiFt3j" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240719120948euoutp01d54c73d1fbf2ab69f8358a89e7dee3be~jm-vTWrSQ1212912129euoutp01c for ; Fri, 19 Jul 2024 12:09:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240719120948euoutp01d54c73d1fbf2ab69f8358a89e7dee3be~jm-vTWrSQ1212912129euoutp01c 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> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGKsWRmVeSWpSXmKPExsWy7djPc7rd4bPSDJr6zC0ezNvGZvF9y3Um izV7zzFZzPssazH/yDlWi/PnN7BbbHp8jdXi8q45bBafe48wWsw4v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Ipzkg01GIu Kk4EAOUgSLtIAwAA X-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> 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: