From patchwork Sun Nov 27 12:32:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 628947 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8191DC4321E for ; Sun, 27 Nov 2022 12:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbiK0MdH (ORCPT ); Sun, 27 Nov 2022 07:33:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiK0MdE (ORCPT ); Sun, 27 Nov 2022 07:33:04 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFB4DC76E for ; Sun, 27 Nov 2022 04:33:03 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id j4so13528079lfk.0 for ; Sun, 27 Nov 2022 04:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cPN+BmEQYUICy1UGQadZzNzqjOx78Sh8uSqQROeddZE=; b=R2Bv2zPBNAl3ZUxMwVQ94JqwxnJpJG5mXOKSYD3VHvLrUz2pmoO7egVrIX2SfqctqC 6l6g8zPjichLkNqzdYCMoJRUHCqnXy0PoWi74E5GCi6FX3W7QV0qMOVyW2DRpSpCXYqN DCrOt/IVhX6tYwdu9wqij+3COEEPWoP3Q12rFyI6YHzwUR0oMD2DpU+ii8QnSGXQmjmo lM3RJodFsgGFfR7Ge079wQ5nSFBkHa0L+KDJjk8CBV00WGVk96N6nvcUwOXLRjcUySHL /ki5yRrNugHMXrnV6H36Gyfw2qCokuvQ0Y2u0zH/ZGNaAWdwEHG/Mwwj9bph2TsmSQAb 0KvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cPN+BmEQYUICy1UGQadZzNzqjOx78Sh8uSqQROeddZE=; b=xh3o4vh5Buh+MTJko730CUHY03Iz8lzaQ+hYPJhlPzFZ0sMfX5BXrm0lSpEz0+A15u eEGdazXrsnSkLGxu/FpHfpy98I0QEnS1nEF+gFVYxi2GXx62px4Sm4wdw7R3Bpa7R9uM ot04OJLn+bZ/06hTmzrq3aI465q1sVK6zUeaOPLEo2wkvrItx9PPka8H6BwZ7wvihVzS 29dqqB8mT9LYM5VLQtNYaF6n7vsx7dFtv14GN9M2QXQadlLPwn5/H36q0LRpqhZVzaZ0 hze6Rgo+quSSoQb/B798sl8izaOjS6c3Ie3PAQesSPpocHJYc6zGBSRGYVbicxq/DdiK E62g== X-Gm-Message-State: ANoB5pnN64M6aZWVyqq/E2NQhq3OZnR16fx22iXmiYVv/avwoj+4RU7n tVeXHvnmLAv3H156gFVQAoq12g== X-Google-Smtp-Source: AA0mqf4ZGewxA+MAxTSYQyTdPfXIgmWFQs7H/WvB19mYSjPeHIYBsOkM7+Ouac+VhOeyig59zSJdfQ== X-Received: by 2002:a05:6512:c06:b0:4b4:a843:38b3 with SMTP id z6-20020a0565120c0600b004b4a84338b3mr12120722lfu.417.1669552382298; Sun, 27 Nov 2022 04:33:02 -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 bf36-20020a05651225a400b0049fff3f645esm1270435lfb.70.2022.11.27.04.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 04:33:01 -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 , Sam Protsenko , Sriranjani P , Chanho Park Subject: [PATCH v2 1/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos5433 Date: Sun, 27 Nov 2022 13:32:56 +0100 Message-Id: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Exynos5433 has several different SYSREGs, so use dedicated compatibles for them. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Sam Protsenko Reviewed-by: Alim Akhtar Reviewed-by: Sriranjani P Reviewed-by: Rob Herring Reviewed-by: Rob Herring --- Changes since v1: 1. Add Rb tags. Cc: Sriranjani P Cc: Chanho Park Cc: Sam Protsenko --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index bd6a354b9cb5..6976e45aa769 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1118,22 +1118,26 @@ hdmiphy: hdmiphy@13af0000 { }; syscon_disp: syscon@13b80000 { - compatible = "samsung,exynos5433-sysreg", "syscon"; + compatible = "samsung,exynos5433-disp-sysreg", + "samsung,exynos5433-sysreg", "syscon"; reg = <0x13b80000 0x1010>; }; syscon_cam0: syscon@120f0000 { - compatible = "samsung,exynos5433-sysreg", "syscon"; + compatible = "samsung,exynos5433-cam0-sysreg", + "samsung,exynos5433-sysreg", "syscon"; reg = <0x120f0000 0x1020>; }; syscon_cam1: syscon@145f0000 { - compatible = "samsung,exynos5433-sysreg", "syscon"; + compatible = "samsung,exynos5433-cam1-sysreg", + "samsung,exynos5433-sysreg", "syscon"; reg = <0x145f0000 0x1038>; }; syscon_fsys: syscon@156f0000 { - compatible = "samsung,exynos5433-sysreg", "syscon"; + compatible = "samsung,exynos5433-fsys-sysreg", + "samsung,exynos5433-sysreg", "syscon"; reg = <0x156f0000 0x1044>; }; From patchwork Sun Nov 27 12:32:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 630150 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0309BC47088 for ; Sun, 27 Nov 2022 12:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229619AbiK0MdH (ORCPT ); Sun, 27 Nov 2022 07:33:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiK0MdG (ORCPT ); Sun, 27 Nov 2022 07:33:06 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567A9DFB5 for ; Sun, 27 Nov 2022 04:33:05 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id j4so13528117lfk.0 for ; Sun, 27 Nov 2022 04:33:05 -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=R150jh6hIsEIRbJZYKF6ButqqrlO23mFgihHTi2zgwY=; b=S+hLAccwjMx6+lWYZVHy1rev13gTMxKOC4B9EHt2zOWdrdHY9bNlSZ6rcBFFuR9/3w CrEsdQnAqz4vySMxE0axqhWsBoV4qBg/zs79oj4h8pbbUWNWWysuLWslcEFfU5VkwtOA hN6JmbMbzKvK4JBix/lBOUu4D86Cg7T3eflx3mzQuWPw3/oZdKdTjvi0ivjivV0WbVyo EjgnCotDUHaefjkJBNvfoFsk/nwpMmyBFY1quanJEAJUaRwA+DHWM6A5Vo91om07MW9e W7PJDiQYULM22E2J8ijNz4rmIYg4KUU8/C8JlEtGTDoJf4O6mjVsy1QNzAsioNN/3yMq g16A== 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=R150jh6hIsEIRbJZYKF6ButqqrlO23mFgihHTi2zgwY=; b=dRPo3GngYRttwmu90k08i7U992kGE4WtJorWYo0LDMH7NI1EDt6APYEXMhpm1DPDH9 p7eGdR5e9OvNNWwec82wtS2vLUAWlSAWBh8qMwmlRnSc9Ke1jw3fQsVI2T/MoQRoyTTd ESPKwEO80uLa5yigFsRPDPfLgyNDIhXo9iQzKiBSP3sG1Z2pfuvIrRcSvfsqsjl8g5lK HGO9+syOrwWcXTV5P12N7dpNpAErnIBid8ZwY7DxdZicOw11NOHpmtv9OP/za8so9lqR gpF+bEgTKNzPmFkP2AAzmS6GfrTObDbx6EJjjgZHiFOWttVz+gW4vLnWvDzQDv6S2b+f 3Img== X-Gm-Message-State: ANoB5pkV+XVJ7im+jsH1DtEzLvbrfGBa5q1wznZy74734CMN0KGWlpLs EApKyehjx0WxRH38f1MXMkEkOg== X-Google-Smtp-Source: AA0mqf4IMmKxlfhiMCYnD0x3FSe8Uvha1FpyVVrqp8MUs675XreSRYN9WD+BITxHQ/e+wireqt2RnQ== X-Received: by 2002:a05:6512:281b:b0:4b3:e086:87d8 with SMTP id cf27-20020a056512281b00b004b3e08687d8mr8985991lfb.259.1669552383598; Sun, 27 Nov 2022 04:33:03 -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 bf36-20020a05651225a400b0049fff3f645esm1270435lfb.70.2022.11.27.04.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 04:33:03 -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 , Sam Protsenko , Sriranjani P , Chanho Park Subject: [PATCH v2 2/4] dt-bindings: soc: samsung: exynos-sysreg: split from syscon Date: Sun, 27 Nov 2022 13:32:57 +0100 Message-Id: <20221127123259.20339-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> References: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Split Samsung Exynos SoC SYSREG bindings to own file to narrow the bindings and do not allow other parts of syscon.yaml. This allows further customization of Samsung SoC bindings. Signed-off-by: Krzysztof Kozlowski Acked-by: Lee Jones Reviewed-by: Sam Protsenko Reviewed-by: Alim Akhtar Reviewed-by: Sriranjani P Reviewed-by: Rob Herring --- Changes since v1: 1. Add Rb tags. Cc: Sriranjani P Cc: Chanho Park Cc: Sam Protsenko --- .../devicetree/bindings/mfd/syscon.yaml | 6 --- .../soc/samsung/samsung,exynos-sysreg.yaml | 39 +++++++++++++++++++ 2 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 1b01bd010431..b73ba1ea08f7 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -64,12 +64,6 @@ properties: - rockchip,rk3568-qos - rockchip,rk3588-qos - rockchip,rv1126-qos - - samsung,exynos3-sysreg - - samsung,exynos4-sysreg - - samsung,exynos5-sysreg - - samsung,exynos5433-sysreg - - samsung,exynos850-sysreg - - samsung,exynosautov9-sysreg - const: syscon diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml new file mode 100644 index 000000000000..68064a5e339c --- /dev/null +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/samsung/samsung,exynos-sysreg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC series System Registers (SYSREG) + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + oneOf: + - items: + - enum: + - samsung,exynos3-sysreg + - samsung,exynos4-sysreg + - samsung,exynos5-sysreg + - samsung,exynos5433-sysreg + - samsung,exynos850-sysreg + - samsung,exynosautov9-sysreg + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + system-controller@10010000 { + compatible = "samsung,exynos4-sysreg", "syscon"; + reg = <0x10010000 0x400>; + }; From patchwork Sun Nov 27 12:32:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 628946 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C557EC4321E for ; Sun, 27 Nov 2022 12:33:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbiK0MdJ (ORCPT ); Sun, 27 Nov 2022 07:33:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiK0MdH (ORCPT ); Sun, 27 Nov 2022 07:33:07 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68798DFCF for ; Sun, 27 Nov 2022 04:33:06 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id p8so13462086lfu.11 for ; Sun, 27 Nov 2022 04:33:06 -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=CoiNQxKW0RSoOcQ50Corefzwrk1M9kQCbioyKko52Q8=; b=a/vG3/7Px25YtNF7c8CL08EI18btkroRbcaaWave/chVmyqGvvzI5jHawQhEfwQm8E ZQgjtoP4Dh6CyELbILvsjx+1Ta/6Dddydd/5BBQhCRtQZGUOiEKmesrzLGMpqz1x+mpd Kh+MeGvzvwuzZcN3Ik2PlLEv9va9ae/PCaP1VHZTkn3XKOINfsxUd0RJck0JpmTqG39B HGXcJSrUQ5itbNIIgKkBr7+Dw2T6D/I4ElJJ6JXjg3nYlQb8PSZydijFHNLlZ2Pg5i2l vuQNrDkMJs6Zn6Hqc9F8ZRMOKQe6+u2rBGF21UWsrJ/RoVJpsz0BzrXAicumYz8M/f24 aLAw== 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=CoiNQxKW0RSoOcQ50Corefzwrk1M9kQCbioyKko52Q8=; b=bkCkrNB7hqhkH5Eoay8esITxFA9Lr+3cj77EGzg7sAEElMvSIWQne9uUdBFZOVuo3j GMROY1s8z6Aj9QfsXkaQuAHeWz7vGKv+lIXx+rlwjsbOTxcM5lxjvmczaJxj8oo8fyA2 6FuIjm2jSUBO2EgkFZ9oMQmsH0JflofSVK1nptFJRAmji2IMcUqlX0TikT6YBw74HqCY tEz06CfMKliCMHa/KuakW7XlSEDdcYUSjy21uMXgP+dRwemP3dERcxAiTdG/2Z8K02kd 7L+eKNS5AHc0EwZWMX4BOzFI3UU/N8q+8AFwubo4ZztoDG5pqWIpNqcwLQLaDuzeiDIm ou7w== X-Gm-Message-State: ANoB5pmwUu9qo4mCCUmgebzKMHRlXUyCg4dXb3U38od6SAekIkd4WMPP yX5uIic/dI9RLgdxW5pZVIRHbA== X-Google-Smtp-Source: AA0mqf4NOHx8oHEaVSb5QxELEepIu3rq66l/GXeQxSRRqp+ZpDVGOJF9cg7jBcwjk+1kmNXYw4hnqA== X-Received: by 2002:a19:7107:0:b0:4a8:e955:77e7 with SMTP id m7-20020a197107000000b004a8e95577e7mr9415620lfc.573.1669552384823; Sun, 27 Nov 2022 04:33:04 -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 bf36-20020a05651225a400b0049fff3f645esm1270435lfb.70.2022.11.27.04.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 04:33:04 -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 , Sam Protsenko , Sriranjani P , Chanho Park Subject: [PATCH v2 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos5433 Date: Sun, 27 Nov 2022 13:32:58 +0100 Message-Id: <20221127123259.20339-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> References: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Exynos5433 has several different SYSREGs, so use dedicated compatibles for them and deprecate usage of generic Exynos5433 compatible alone (as it is too generic). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Sam Protsenko Reviewed-by: Sriranjani P --- Changes since v1: 1. Add Rb tags. Cc: Sriranjani P Cc: Chanho Park Cc: Sam Protsenko --- .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index 68064a5e339c..42357466005e 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -17,10 +17,21 @@ properties: - samsung,exynos3-sysreg - samsung,exynos4-sysreg - samsung,exynos5-sysreg - - samsung,exynos5433-sysreg - samsung,exynos850-sysreg - samsung,exynosautov9-sysreg - const: syscon + - items: + - enum: + - samsung,exynos5433-cam0-sysreg + - samsung,exynos5433-cam1-sysreg + - samsung,exynos5433-disp-sysreg + - samsung,exynos5433-fsys-sysreg + - const: samsung,exynos5433-sysreg + - const: syscon + - items: + - const: samsung,exynos5433-sysreg + - const: syscon + deprecated: true reg: maxItems: 1 From patchwork Sun Nov 27 12:32:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 630149 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D24DCC352A1 for ; Sun, 27 Nov 2022 12:33:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiK0MdK (ORCPT ); Sun, 27 Nov 2022 07:33:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiK0MdI (ORCPT ); Sun, 27 Nov 2022 07:33:08 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B033DFD2 for ; Sun, 27 Nov 2022 04:33:07 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id g12so13502662lfh.3 for ; Sun, 27 Nov 2022 04:33:07 -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=oPk7pZaW+Js07Ir4q7QUeJVschpmE3FAH9jHHWjWI84=; b=xumMlNEqTKOZiUQdPQSK+tLh74W9IPD9qE2L6gqKpx+SpZubP2+FGcLUilHEKVAH8W vliKGEci5dFSmd7kV3xcKPB/eZbPFivoOcAhvP7KL0oFLI+pLDvisdeMP6aMHmP4Bhut ESu3J1QPow+DUwHCPiE9p1pwhcLuWBaVeW6jOSsNUhgjG3Q958Bwy2tj8DhmMPHim6ps hCPTWLt5mZ47FVx7Vb6EM2rljIRid9Tk0CbWVQ57H6SaBm/ZXDcDwnNLAQl+JluZqJko B9ubfZXBnKNJTepPpA++5A7BAAsP3d28Nh2D2hXdRo/lvwUXEhKZDMYnNUX6iBFhtXeM Llww== 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=oPk7pZaW+Js07Ir4q7QUeJVschpmE3FAH9jHHWjWI84=; b=Ul8fhc4Ur/AxWg70QiCDN7WDXzuBqc793MdH0I+DE9Npef9h3sEpt6FsfGokYKp9PK Ql47F/x/RPU1YDLQjseva7iS8Vc5QK+guF0gGLWANNS3ZGFZ1fcb8pAuHnSTOrK6lzop npk7CfLa2ZNGvAe7NUKQt8A9W0t3bAopIHGdSn0uZVnwsB4jLOZ+sf63Wcaw1wvavbN3 GInAVxG8bHWwHBr4+2RnH3EiKBgwQHmy+u0Xig+cmlgSf/QZxoaPhhsZNaA02IE9Jx8u gM3hxT1iDlWnAlzJ+uPPRkIrW1AcrfIpiyOTuU4OCHZ3Qd4b4C1Dky5VQX1L5FrlRp1Z Q6kA== X-Gm-Message-State: ANoB5pmMpltIIwKU+oBjyTwlQcG9rcK+zOpObDELwbrqOFAZdVM3r2bT X/J+okOIYGMBg7FimLCwlFaaYcgV1uxyMVD1 X-Google-Smtp-Source: AA0mqf7+3uqL0EY0aETJxt1pjKKSiEoQY9brryuF6lfSW8A7Qdcx8QvuqQwcqMbNDDC6q9LNfbRQtA== X-Received: by 2002:ac2:4c27:0:b0:4a2:4df9:4cab with SMTP id u7-20020ac24c27000000b004a24df94cabmr16094272lfq.56.1669552386021; Sun, 27 Nov 2022 04:33:06 -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 bf36-20020a05651225a400b0049fff3f645esm1270435lfb.70.2022.11.27.04.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 04:33:05 -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 v2 4/4] dt-bindings: soc: samsung: exynos-sysreg: add clocks for Exynos850 Date: Sun, 27 Nov 2022 13:32:59 +0100 Message-Id: <20221127123259.20339-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> References: <20221127123259.20339-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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: Rob Herring --- Changes since v1: 1. Make clocks required on Exynos850. 2. Due to above change, do not add Rb tags. Cc: Sriranjani P Cc: Chanho Park Cc: Sam Protsenko --- .../soc/samsung/samsung,exynos-sysreg.yaml | 17 +++++++++++++++++ 1 file changed, 17 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..9f3fc6406d9d 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -36,10 +36,27 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + required: - compatible - reg +allOf: + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos850-sysreg + then: + required: + - clocks + else: + properties: + clocks: false + additionalProperties: false examples: