From patchwork Fri Nov 25 11:21: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: 13055780 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 42B3CC4332F for ; Fri, 25 Nov 2022 11:23:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbiKYLXP (ORCPT ); Fri, 25 Nov 2022 06:23:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbiKYLWk (ORCPT ); Fri, 25 Nov 2022 06:22:40 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDF7EBE07 for ; Fri, 25 Nov 2022 03:22:34 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id d3so4847586ljl.1 for ; Fri, 25 Nov 2022 03:22:34 -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=Tz3cZj02s7aotfkNU3pInJmLUet7fGFyUb52blcubmM=; b=toUdoUer8O6ICxYt2TX9P+gM3wg8szguyp3yhukHtWihLThomk5WlZCEpL2/n6fOvg jzDf0UAD657ZQouqG6igfQPAEi9ffKoeqLDSBsQ4y3y93K774gezh07URAAYgI9K7BFs 0FGssY8APmAEH0lC4A+Yrs1fRkaFUT5o73xrYjXS68aPgEv3Clgw/Ti6CJRr3+etE7d3 AH/qt1DAcF+lu4Hgw8KNCZKaTnna4kJ/+J70xFVfnVrrDhoj0vD2pV1QgjWG5fgL49Ea PGpRaEN2HetZMjg3Oz9CNAfbZF3Do1revE0NKbjb6bRkMolMwxlKfR+txLNC/BMSIYK0 YDuw== 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=Tz3cZj02s7aotfkNU3pInJmLUet7fGFyUb52blcubmM=; b=wmw+6EcPQ3UaWHycKMwLMdQJcLMYQ8ar9kCNRcJbEGAlb44a8FoA8iya8U2Kd/76+e K8pfyzLw5MgUQMn2d5qBh+1e32aB+JUVCFKs+H8v8zyu0ASswcKB9GlVtmBRt04dvHtj B4tyeE9EIQrVXlTzevSWZ2n8abzZsaS6r6vSxKw4GE1SEvfxHBvvunwVa1HMMFXBVPNo QxGs/TRB7b5Z3epcB5z79XFJGX7fwcSkx5UIIeNbCO27lkRi8cgX46T86F14cHeEHLQx 3G0dhtycvlDHeGLoEd42XUC5TjbvzxWGlFnUMjN1fI0SduApu6Uzf/8v/2stvQvscs03 UwZg== X-Gm-Message-State: ANoB5pk+Z6GzXaOAWiQ276tIAJhxtmr8SfQ0H8QFbhXg7uiY1fIlx4pX hneBjqMC4UR2H03z7EruxC8Hlg== X-Google-Smtp-Source: AA0mqf7uHQRLxH002yhu3C+WeyylgDabaXzzY3G4vkTFf9b0YzmceNM7D5j1yDv35P4uyLdy+xF3GQ== X-Received: by 2002:a05:651c:221e:b0:277:6231:5a7 with SMTP id y30-20020a05651c221e00b00277623105a7mr5755113ljq.300.1669375352556; Fri, 25 Nov 2022 03:22:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 03:22:32 -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 1/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos5433 Date: Fri, 25 Nov 2022 12:21:58 +0100 Message-Id: <20221125112201.240178-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: Sriranjani P Reviewed-by: Alim Akhtar --- 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 Fri Nov 25 11:21: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: 13055781 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 54011C46467 for ; Fri, 25 Nov 2022 11:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229871AbiKYLXQ (ORCPT ); Fri, 25 Nov 2022 06:23:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbiKYLWk (ORCPT ); Fri, 25 Nov 2022 06:22:40 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE2D2BE10 for ; Fri, 25 Nov 2022 03:22:35 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id q7so4805855ljp.9 for ; Fri, 25 Nov 2022 03:22:35 -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=ZLVXxybtNiyFGJ+Nz3UuGNMoFvM7nVnYJXqnnVuMIUY=; b=kTQcctEqy04RiYULAfoZli6NZCo2E3yfc4g+r7idj7sz9C0f+1kPKAYnUeVDBpGsbq RZDGb/MUm6w7PNrxL7MetDAk1eIuVP1SAZ8FaODUv4BEmGrxpBAJTnpFe2jjv/JCVzf8 W5jrvbIi58/BYAJ9IPGfUK83LNqAEDE1WLQAdbeA/DP9Q++H4vL6n+NXsV4gxv5fnKMB VMBK8kshN9NSHaAiaNMTRYdv0GaNmcZrfLOpstGqsUkAfYaVMVeTJ/21+KHbfKlQyyM3 ofM2onODJYA68CxMxPcuMxyAVp2V03hy+y+UhOXN5ZPrrAjkM4SZQHm82bcI1rCBKRFF ah6A== 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=ZLVXxybtNiyFGJ+Nz3UuGNMoFvM7nVnYJXqnnVuMIUY=; b=CXiTfRl+b056c/fzE50L87Nj4BZjPCc3fQzHOHmBCGaXOoA9u2PyfOXYqGUzqQuVYa zKw+u1cHDh20g1/+rv/t44HdjL/O+QTWIY7Bw+fNGvLbasZV2ydx3/w3hRFQrUrAX20L DRKsdNBywkVyEcnyqY5Rq5BhVmptpFUTQE1lWFpzN7dUy56pqzVb3nz5aUM1I4RdWDH1 VgrJT+WNnf+dfTKMwDh7gpzzdX80LyyHh+/wI0OkWOrMGrhrie1P4KmvLpk4H7djZrVj vi5KPeyy0unryjcAeAC5gRUZbltM7sQ19zMl1WweSjTjwzAlUo3nXDYKGecoNsHsrmDS xetw== X-Gm-Message-State: ANoB5pl+mHaIEMhwc4EdRj3vJV0e8ZSKcYlQ1EviZao4UKjmfDeyypex rlqSsKuzeJwJAjOFxLhU9vr+mQ== X-Google-Smtp-Source: AA0mqf52XQnsMtNSNyT9oAKjDwYBCarO4P6JwM2lsm2jXhEu5i/tbHDz+3XvThs4aUJqVh0fDDwYfA== X-Received: by 2002:a2e:bf17:0:b0:277:394:34e with SMTP id c23-20020a2ebf17000000b002770394034emr5484045ljr.18.1669375353630; Fri, 25 Nov 2022 03:22:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 03:22:33 -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 2/4] dt-bindings: soc: samsung: exynos-sysreg: split from syscon Date: Fri, 25 Nov 2022 12:21:59 +0100 Message-Id: <20221125112201.240178-2-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 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: Sriranjani P Reviewed-by: Alim Akhtar --- 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 Fri Nov 25 11:22:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13055783 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 93BBBC47088 for ; Fri, 25 Nov 2022 11:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbiKYLXR (ORCPT ); Fri, 25 Nov 2022 06:23:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbiKYLWo (ORCPT ); Fri, 25 Nov 2022 06:22:44 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFCE11165 for ; Fri, 25 Nov 2022 03:22:37 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id d6so6396980lfs.10 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=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=PsKKWnADnCUcm+Kjj9gEq6PbAPRhaIwE/FOmb7FcQ3wOICswOLtS/qFZqciAk/Vj2c M1oN2WOXu52B9nUyvPPFHvHfajUF6YYmkiUhvusXRqwcBuZb3qYVn6oaPf78lI6q+MjJ QOpfj7kV5uKMA9O3q/QFEJXvuABhnYcDxqHlRMwRt7CIVbNMRgBhdHGK3MOF3vl4DfBX 8PgkkAksDN4bgF0BSkiiYRU0v/Yesy1WlWQ8HFXdevtHqtevP5nmPYmfUslYYytOnWpV 98jOiZ39WqqaJPhYIwH/MfYI6NBIQVI2G7veb7gPAHIUJeAKAmnhba9fTIdZHV6LURLb dJrg== 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=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=fX0O8+eHOiB78aK3Ka/cSKCu+rDkkgOKLbkY0SLVtiGr/5uLI4hjX0OwNw/sxE0Uw4 tdPN5iR+CSSSDMYm3hgM52zJIhvd0XZcXX0AkwSo6ToiimL/Getd93ApVvP6Djh1F23Y Z52f7X+FYxDKR6SXeknMOsbJ5UZzcLbNV4qtRT6bQ2pb7rfZlf6hutmDkcu36xaSX32T 5nRZeNi48b7RJ62KjkCiOeweF8kMI2RypGBKaI3RpJeY8242WJ5zRl7O9+mhLf5jFGPm wCQ3rOIYT5TdcRJLI5BXpPj6K7qxIZz/UzMFln92rUkz43pJ0MCErRTTEo2THnchxpNA F8wQ== X-Gm-Message-State: ANoB5plR8V4y2V2loCXfLat4iMhZmcYR90NWNjODJhB+7uzFSF8LKjaT 4AFF7H/f2N9hKhRDrM2hdJPqbQ== X-Google-Smtp-Source: AA0mqf5IiSjZg0zx9+oltQ0JDs391PfWfZHphXbGf588bSLGZj3fAEBsmeDyotxPVzTGL1twHdamKQ== X-Received: by 2002:a05:6512:2252:b0:4b1:7c15:e922 with SMTP id i18-20020a056512225200b004b17c15e922mr8395209lfu.214.1669375354674; Fri, 25 Nov 2022 03:22:34 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 03:22:34 -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 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos5433 Date: Fri, 25 Nov 2022 12:22:00 +0100 Message-Id: <20221125112201.240178-3-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 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: Sriranjani P --- 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 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: 13055782 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 693F2C47089 for ; Fri, 25 Nov 2022 11:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbiKYLXQ (ORCPT ); Fri, 25 Nov 2022 06:23:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbiKYLWl (ORCPT ); Fri, 25 Nov 2022 06:22:41 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C18F7E0C5 for ; Fri, 25 Nov 2022 03:22:37 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id b9so4811574ljr.5 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=bMWAX1pSsdBml45uHdHNpuUniu+42KKmxjvy1yKgTwHCw0wTmWV28nR9e0D1vQA/EL fh3qLTb/QvnXFGgMn1ox5byzAhLC/BgbNUqhDCssAuINoTDNPyvFZcGfSLkFHeneDx46 a+pQ5ywM4soBzZiHMmE9073ygGtkCzoqijtnADkqNgMz+W6RoTsI4xEF8msjcGtBTqOj CQJDhZpd8NFrd2wWcmo4Y1LCNkBOEajrO4pamw3EJRzlBuNwiMLM1Z6/n4D7KxBidFS1 HlAwOKSfKV7NLWdKwLJlBunlAGdEx7PeW1aWF0FQbl9I2KjP0l919VD7l/Ubirng+SlR Q5Ig== X-Gm-Message-State: ANoB5pkRNrsra0IWMSAgKbR9kRzJ/NmU2nlXmAzbQfyyNQX+olllvu4r wJmSao0OIeT50EP78mIKnOP4bQ== X-Google-Smtp-Source: AA0mqf4Hkwe4H/vLtfLCeT7OTu+xc2bljnqQr7M0x6kMg0rrOGjRTbYXrL43oxNfs0wQ40G6aEX8ow== 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 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: 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: