From patchwork Fri Nov 25 11:22:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 25944 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3941491wrr; Fri, 25 Nov 2022 03:29:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ClYpX0ObEDcCvjRd8L+K7vkBeViSclEalZCcUgul6Ympm5CP9Fqqfau/p2iRfNl9+BWXz X-Received: by 2002:a17:906:2302:b0:7b9:de77:f0ef with SMTP id l2-20020a170906230200b007b9de77f0efmr10363875eja.5.1669375756713; Fri, 25 Nov 2022 03:29:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375756; cv=none; d=google.com; s=arc-20160816; b=E6YNhok9deb7kyCzi2ygozuh3OeMwpgaxw/5pCLQX+6b1ee2dTuY+FP8lnIGSItEe8 Xkb52jpP/1lmOGIOZV/kx0yuWDkk391cfQg0fnlrLZcvoen70OiAhCKmZ97FafJhB7NB xvGRU0bsVltRZ4M8jtQbijDGcmN4d8MOemFnaBh3XvkC98qW9ifhMJJw8SjV5ajmgHHf 25l73NTEHW9gnnCqrsBAX62BBiMVBjEAE2ePwi4wmXgLziKEYrcQt98R8V5N/z1EsU63 g2Ih3HWydVsgx0N1zM5EkB75sDsfu3SleGWxn4yBipSRVAOA7IdgGfw/JDBu4V5VZyQN sDCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FQ/0iaidjrwAErPgZV7KfavzFSlKA7jOMFJg48+/n7s=; b=jjrDZcErIaEf/8wzGtzAhQb91NZaK50O56jO4rpb+OXFPDz1kIis0Ff6eUbrwX/BvI mTavlcE0LWamRCIuw/wu+dgXYdHSQ9hryXKZdZPMv2xzoi7nBNNtVWfJC67mOxM8Jg0t gegvBWE4b9YOCco0b5r7l4sL38Rte2xWNA3CWElghsh264ZJPk78fSoXRBQ6KEpCaPeT ytdkLI4zMsHgIFuZskjR/I1HuKo67jGh7jjOGnSLd/SoPLeokOWueXNWMjkNo+kMs8gX 1fd9T+5FcjGZ8eAEhOLMIYbGLpl+vP3UudetpTA9yCSyeenRXyEoPGka13GEIQUDf9wx BIzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwXpS+b3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs17-20020a170906dc9100b0078d6418dcb8si2893018ejc.456.2022.11.25.03.28.51; Fri, 25 Nov 2022 03:29:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwXpS+b3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbiKYLXV (ORCPT + 99 others); Fri, 25 Nov 2022 06:23:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231145AbiKYLWl (ORCPT ); Fri, 25 Nov 2022 06:22:41 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B3EE0D2 for ; Fri, 25 Nov 2022 03:22:37 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id z4so4821851ljq.6 for ; Fri, 25 Nov 2022 03:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=FQ/0iaidjrwAErPgZV7KfavzFSlKA7jOMFJg48+/n7s=; b=gwXpS+b3PHcPdSK1t8UGF3HSIoSW/ExTHv9RCn7Sh43VXek/50LHltfku32RBC50jb bRX0oTTXOgw0aqvEJJrDX+iuWbvvMfqwIi9im2noaNXDBvR2h8dBVR8IyBmQphs0Ld83 8II4f3hW4AJjrTZlPYtqvgCbEKwxaWP4HB9Okb0xlSjnkdttTemNtIygmF7nl7Ap+0O0 QE1Glo2j59ruRhKSPfz/8zJr0/KtgL4qFhORls20irZZFP3taG+8FeVLbqLRtReFnAIs ZDV3s6tGm7lOuyQCt0osKo1OfuXUZF3ogZPdTGUvPNX3nFx0inzcdnPuSYJu+9Ro9b8g 97/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=FQ/0iaidjrwAErPgZV7KfavzFSlKA7jOMFJg48+/n7s=; b=FeR4zIIseBKbG1BjrmTK6tyaxvr1xTRKTvTCrL2QDWS/jh1i3ec+O5UDiYvKvg+DpN +8nQJZGQvFHHJ0frazMpyR8OWnn+3dqABZVkL0HM+F9PiigLUHxOi1dROw3TyjQQcqaB XcD8iUauD0mLgFGbby13vobLZB2g4BL5KeVVdh+SBbMZyqHvVrSpAI8nGFZiPoagS6IS zukDVjrVnSzF03aON/X9MBiSTFQ5Re3QSDWkxAARKWri39Iz9fcFECrOIQCaaGq94Cw2 lylkW0QUUVovDAdMxcgvXXHPZa/288hb+IjD/Mc45Sa0velsWmSPjUoah4MOYcg7BEs4 ve7g== X-Gm-Message-State: ANoB5pl0kC8DPMidS2PpffFO+jj7QTYukSIefIAcXUP7jjYh4bQMtN4P aiP4ltPqt1saK8wGRXFuFPgVbg== X-Received: by 2002:a2e:9789:0:b0:277:41d:6c1e with SMTP id y9-20020a2e9789000000b00277041d6c1emr11294977lji.330.1669375355712; Fri, 25 Nov 2022 03:22:35 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id c1-20020a056512074100b004a478c2f4desm483904lfs.163.2022.11.25.03.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 03:22:35 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski , Sriranjani P , Chanho Park , Sam Protsenko Subject: [PATCH 4/4] dt-bindings: soc: samsung: exynos-sysreg: add clocks for Exynos850 Date: Fri, 25 Nov 2022 12:22:01 +0100 Message-Id: <20221125112201.240178-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221125112201.240178-1-krzysztof.kozlowski@linaro.org> References: <20221125112201.240178-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750467353529942232?= X-GMAIL-MSGID: =?utf-8?q?1750467353529942232?= Exynos850 has dedicated clock for accessing SYSREGs. Allow it, even though Linux currently does not enable them and relies on bootloader. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Sriranjani P Reviewed-by: Sam Protsenko --- Cc: Sriranjani P Cc: Chanho Park Cc: Sam Protsenko --- .../soc/samsung/samsung,exynos-sysreg.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index 42357466005e..27cea934a286 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -36,10 +36,25 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + required: - compatible - reg +allOf: + - if: + not: + properties: + compatible: + contains: + enum: + - samsung,exynos850-sysreg + then: + properties: + clocks: false + additionalProperties: false examples: