Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13372348rwb; Sun, 27 Nov 2022 04:52:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5i43vd4Wxr7Sh68gfXKM1TImDoXohQlhwpmX1IL33qb+8ujasxA90NSzzmdJLlNSDEVv+m X-Received: by 2002:a17:90a:6547:b0:213:d08f:a483 with SMTP id f7-20020a17090a654700b00213d08fa483mr48774527pjs.21.1669553544892; Sun, 27 Nov 2022 04:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669553544; cv=none; d=google.com; s=arc-20160816; b=b0qZ6AJNgpawOvuz6jTVm5PzYbAC4/vtqfnYxn83Mhb1g3UYzPFrvoit1e9z82tN+G DBSvCh/m6Zjbmltha62rQ4WloI8Iaa0cWPwZ/jOSkpvsSrr5uE7JyGinsePNKvIKi1Du 2z/ghek0s7ZEfgi8kE5hRQJMQbEg0uZyzljmirUVeJKT9IP10daVlqtWYZcXM7X7hKht jalUC+KiRp8c+xoM/XcLY+YlXG0+xeHFQiOw5aZ0gPVMzqtoLoo/HL+osNWBLe1bU0CN iLvLTKqYFjH++GgPXgn8XFk4p9X9roxCaWlBqvaHyFx7QIu0oaVJMzRgMznP+x4QQuUr zVBA== 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=oPk7pZaW+Js07Ir4q7QUeJVschpmE3FAH9jHHWjWI84=; b=EUjaU4NfrNAdN8l1xZP09K7iFuSUxs2ow6+sSsYnnI+vmIZcGp7mWeYrH2y5P8bD45 YPWUHw71pcynybVPdjjvwkPKEAKVb8KxcA+FSWy9vaLtLHBshC092FfYy8lBLsBN2Xqr zGMXohXYiTJa3x3vJKGb5K2JLE+TKSHfzvF5wGDFW7nvPsAEn02KRx/NkPfa5f+SPSzA viului1oOk2CURkdrB0SSfrycP7mnB2bQ8X6XEgSvXUKd+GcZ9AXs/XUVGZGHOeQiyYx mjs+7vCMEMJ40ad+UgCFPtLBEunRm4LB6dUm1ChPkEGDDA7fYlZOAvAsPLvcl51WlOTX aXgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xumMlNEq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j185-20020a638bc2000000b004774bf80b05si7600169pge.506.2022.11.27.04.52.10; Sun, 27 Nov 2022 04:52: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=xumMlNEq; 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 S229670AbiK0MdS (ORCPT + 84 others); Sun, 27 Nov 2022 07:33:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbiK0MdI (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 97617CE1A for ; Sun, 27 Nov 2022 04:33:07 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id j16so13453352lfe.12 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=M9655NoBxCp+b1+2xpzUEi1GePr8slo+/qLN1tQeIAGwCNc9jFf8bz+m789TsAq+6t HMXIHEjvmRRL5Vm+oc2rI4JGwis4BkxZWFS82JuTM5fEaQcW0opMeN6LO9bol2jN200N O6tLxzuw/tD8MjIKNQvXQvfZt6Z+G+2feH6u6YyPmFLjBxkP3PpdBmXJvFyTcHs6gru+ /EFI6J7D0dzY4AzM0Y929W8XXSPuFnucdynAJNRrxCqATI9ntFylyquE8l23cDmcstlS ctBJvF1WPjGyWlHZqMyVlvjnn54DQuFJLd7r//wDyhRnTGfOF4XJUuhEB3FGgAPjreG2 440w== X-Gm-Message-State: ANoB5pmlPsPkMc0hwmBPE+MgRDX5ZXoP9nYDWbX3TXl5b49HJJQKEpJY o2GraJF6pWEhuQwSOu/vaOlr0Q== 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 Content-Transfer-Encoding: 8bit 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 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 --- 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: -- 2.34.1