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: 25942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3940978wrr; Fri, 25 Nov 2022 03:28:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf6InlUNRtkq+WJfcJ1QrlzoRqYY9RjOV5FDQBh5WqNjs5HSZMRy2UIHPXFjMXZnhai0IIZI X-Received: by 2002:a17:906:be9:b0:78d:3e11:1036 with SMTP id z9-20020a1709060be900b0078d3e111036mr32247031ejg.76.1669375692853; Fri, 25 Nov 2022 03:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375692; cv=none; d=google.com; s=arc-20160816; b=JWr8WxB2xCGmnRQpm/8c+Kc8C9NmbkfQo29+FtnIDUeBlNDrJSu9gNZRfjILy7iSh0 yDoL6oUdoqryFjPU9jpUlFa4Gn6tNP7y5JXmT44czPeVowNda9G035Bxeob1JqfjSFog STlzhkJumQ50cjklIU4CMcGSk3YgnxMnNi5Js9Gw1tjPo9fS1Dfn7uP2bYBGchn+uvzF YzqtIFW8laraCj3DJBHMKOpjOar01aL9YAPoWaXaFSmWTnjiVgetGcQRxMUHDu1GzWs3 VVTetI4zWF3Uefh1ck/Bi6luOvXtCmGv/+jP3q8LHu9CxNSq6PrdgszAHJhaxR34R+zO LBTQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Tz3cZj02s7aotfkNU3pInJmLUet7fGFyUb52blcubmM=; b=gxhadrNB+feoLQthBVEGwCTJ3Vk68RX90+73Fwm91zcThuAz74FSUL9ouu4XDiloQx RCyrpAaJs9YXmKnzNlM75U1GvSoKKA98ZovSPuzJJA/DtdkQweXx9VG+LOz9C9a01bS7 Z7nbBqrFVa4x6Q4m4Fh/7zthvzqlaVCsFM1ueBfSO5RIjolGhVcXlthd0+suGi5WOt9X EnBFcRJqKs8tWImXYn98+l1r2KBJXsc/CEpUGFf1BygJEy0MsDgIm4z0P9BOBteYjIdN CQxwAMLdAAcpi4ZCCgHN4/3iBzHTkp7cze5CDw8ASYAg3HTFB4iXqFbM/6g7BbXXop1m /tbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=toUdoUer; 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 sc34-20020a1709078a2200b007808f3f4cbcsi3660622ejc.239.2022.11.25.03.27.49; Fri, 25 Nov 2022 03:28:12 -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=toUdoUer; 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 S229756AbiKYLXQ (ORCPT + 99 others); Fri, 25 Nov 2022 06:23:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231134AbiKYLWk (ORCPT ); Fri, 25 Nov 2022 06:22:40 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDF13BE06 for ; Fri, 25 Nov 2022 03:22:34 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id bn5so4841146ljb.2 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=QbG+jpUcpkdDVNCKtRnedEtOuNxd5fAXcDlVqgwmZV/qfne7EE6QT3q+l9FrsYiKDd jWxt6pkzsCTxsRDcTob9/YP7RM8126AvrPlKx4rf94rfX2oIwnGzL2GAJqWVhuC+Vt1t WYwPTTbX81DdWRi88X4wrEGph68A6vQHyrTh+sw6owJHSVUsw7pqybwWqgD7SzjppRHN f9KtbArRgr0bURMR3MhuTFUgYRJkRz8il/MhuTOACRmK2y8F7NpRFg9jSH13Fcrq0SQE kea7ZZ12dXaWOAsgriiqMKfTV/LlSo5skWhGRGnu++Ww1IsRrkufAmwBaJnWXRC+mr2D 0ftg== X-Gm-Message-State: ANoB5pmEa3ES43aaZ5C6M9n1/O0O/S/cIHMF2iZeE6Y/75YPQvSGq3B7 lw2Zp08z8QLkt9lkEL4P/I7gug== 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 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?1750467286976543067?= X-GMAIL-MSGID: =?utf-8?q?1750467286976543067?= 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: 25940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3940571wrr; Fri, 25 Nov 2022 03:27:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf7+XHRkt4L4596lSFMUDGo0pFvPKcE6WOydLUQd/RUGvNVnqRLfG4ma8LpXeRGMWrh5fDLr X-Received: by 2002:aa7:d913:0:b0:46a:8d6:ff00 with SMTP id a19-20020aa7d913000000b0046a08d6ff00mr13227264edr.78.1669375643531; Fri, 25 Nov 2022 03:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375643; cv=none; d=google.com; s=arc-20160816; b=pHh+pEfUcWxOttAYjc55z0x/0SHFmXH6tOQ3leyTGOw2MBlad8OsJVN0Ad3TBJcaoS rNJCm6CogxoXZIxUjJB2lg9voxRd1ElePtK7z+4hHLi/Hb8sxBe06GNYbX3bHphb8u94 fDSRSFS4zKY0Xyc8k5/DwC8pBhcfoPz2XY8msh4dnTYfKTBUozedaTVbcaRHivdhI7SJ kXlaPFU9pK7Gsza/82jqRhzky3j8Syv6Znrsm8YAvotn6pj0Ur9lndU/v3fp4hQeNmTy 4shRE2JfcUcy6Tnnw6AKwmwmbb9lMmRc6Vb8Xc4tbQgRAJKmsIFgm5S2JJJ4y/GyqiSv Pbtg== 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=ZLVXxybtNiyFGJ+Nz3UuGNMoFvM7nVnYJXqnnVuMIUY=; b=pU6PEcXD9v415dq7zjKVgwu1y7aQe1dizIy4nyJ4bSUSHII2yG3Er2H9NCdM7/oRT6 AUvZTLERvgjZC0ha1NnSyp+p5MtiZfa3LeRsHBR/sYDTpoBKnQk4i3rt6pBOdhLw7JLV n0cbm+7jz8CDeagdjQI+lXjuh/b5sxli16GOYHzyOpkxO7dkF2uCciGXqpBwM+Kvl8hX 9EbX1nc+MVhlj6XTvsLvN07ozSsu0JbEESENyPVpP7YHq5MbOXw4XsjrT20yPfUQyTPG d5BNCGIHy3fk9i//xudZzXskC5BX3l1TiPH44dgZnO3CvBfjSjcAKbhTBgzGrVk9Nqab bB5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kTQcctEq; 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 t3-20020a50ab43000000b0045c93142111si2646547edc.70.2022.11.25.03.26.59; Fri, 25 Nov 2022 03:27:23 -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=kTQcctEq; 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 S229727AbiKYLXR (ORCPT + 99 others); Fri, 25 Nov 2022 06:23:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231146AbiKYLWl (ORCPT ); Fri, 25 Nov 2022 06:22:41 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDA69BC9A for ; Fri, 25 Nov 2022 03:22:35 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id n1so130733ljg.3 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=QfGnIzFo5/9/3wErjtnc+1FSbF6xi2FHETLXlU4EhZd9VeNlfgFVrdHu1yuCN3uq6Q nkPumpjkhBJPCaNqwc8v96n7l5y/ndqYkEXajsMMOPaoblMW511IVSy4wggs8F8TJwGL HHvx45Je8SMlL6sl+UZqTVVBR74IBa0Cs7rUoFGypxMAYNziZRa6uL46znfDT9I+IyIu atxM3G0eU6KYn8gLw5S6NUnw5XKWXDBALaUGcIgiqUqpDZR0dWuom5nudB+AlAhKPI3t GbnvM/yKvBPdbTEblmj8kTwICRZkvlbgDonPZSsWaA7aRMuCk61BKpcoVGxdSgVhhII4 86Lw== X-Gm-Message-State: ANoB5pkMkfZ6W766wRb0bQLE9clqHGEzdwgb5JCO5fhNFL+SMyRrXd3b 3wepkYGVOcS1yHOEh6NgEkRKfw== 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 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?1750467234460221191?= X-GMAIL-MSGID: =?utf-8?q?1750467234460221191?= 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: 25945 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3941542wrr; Fri, 25 Nov 2022 03:29:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6oCvdWggnhPM6DcV1n6NdPeHp/F3A/P7LQhzJaq7jnLEKMgLAqYwndAitPr1/9Wl+H5E0z X-Received: by 2002:aa7:d594:0:b0:46a:6950:e229 with SMTP id r20-20020aa7d594000000b0046a6950e229mr9142457edq.120.1669375764247; Fri, 25 Nov 2022 03:29:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375764; cv=none; d=google.com; s=arc-20160816; b=RitIa6p+CYGJWQ9HYjuIzUBXhHQriLGR1RC/PX63qv9/A8jXbin8cY26KjosoquspV 0iVI/eInXEiRCBGdx04QQ2kfjfPNlsyTwrpCF8/byIMN/DGMAKjO/Ai7fH6lqwoDqHHE HaSE5vY269gOY1klM5jExvboYQLOs2pP5eesX6Bj9H2j1jy1kli6gxzHDcgNNTFp9G0H K15PQ1DqH+NALnpd3nybzipR+4pFe6EptNdiVU2O17XkvC/xEhpmP5UdS/V9isrkFPWe brg/a5xPkGsNLcLQwJC/LdWjritbpv03oolYESfAkpMc9Nn8vfEY364KgUEcHYKHEqhj Rh+Q== 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=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=q+FbclLe82vP0YmPgJXrQbQnWj4ZSYcEdbnR+WqicxepdGFFqNsuiKYO4Ix/EEillt jM+ObYmhjQPV/q1GhEMOJkLLIbynko3nQ5uOiWeddwPKkJi0eXJteYmbSF1segSMkjJv hVoAwT3Xs0ZHqTuKq7taI7E2Cr/BpWYAkW8rkS4sqcJCvfbyydu9h3n9SIN4BEx4HKLt TvMHV7VvgsuwPkQ2vdg3cekcUe2KObTSCPPPl5JtwS+RXc2d4tfd01aGkdEtOjP46yXe 0rxQaAYhLtHgBKZrD+4826U6akQ6iC+v7Veoph4PXyWaNAKCQbNOmxmcpEWgJNiaK9pr mTXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PsKKWnAD; 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 qw28-20020a1709066a1c00b007ae2b7df929si3358779ejc.72.2022.11.25.03.28.59; Fri, 25 Nov 2022 03:29:24 -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=PsKKWnAD; 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 S230118AbiKYLX0 (ORCPT + 99 others); Fri, 25 Nov 2022 06:23:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiKYLWo (ORCPT ); Fri, 25 Nov 2022 06:22:44 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DF3D11164 for ; Fri, 25 Nov 2022 03:22:37 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id j4so6461343lfk.0 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=AIJ/7izqc3Xj2xHax3eQMf4N928xuxmeJKmvT7JzN4tkBk6N8XyywRXz81VH4iJHmp hBWyWkliEJ4krfc9DNht9NTf5c++Qx//uXXKTwvx/TiY7FtN/fAReEVIcGpjBfMOOdA4 uygfQ/j8J1P78fb05gbIpvmKWUf7wV80yZke4VsLaH4YhGhjKRcCX1gCovRSpSLBbpq7 S+4EhuWJjQQZXDY2wZARhVtrFwnqwfDunAOkfU1bDSHIEzGmE+OCjXjuurqD5X1GH/0Z Z+bbJCi1yWo2uv8f+CELBED+Um/skT3O7jd5mH1FVsdg7h3i/hHw6dUsaYWdX39mHrMQ KTJQ== X-Gm-Message-State: ANoB5pmUXMq1sNcSOnljOsiatRE8kJv21DONe7Lj/I5aFEK+zln88E/0 sfOxVMQPPJ6t3YHNECmSMvfHGw== 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 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=ham 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?1750467361177885387?= X-GMAIL-MSGID: =?utf-8?q?1750467361177885387?= 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: 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: