Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1520705rdh; Mon, 25 Sep 2023 15:50:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPTafXO2/bZlw3njqWS1yK3O92JVM2mz029FzdEfejMW8Z6ybSciKfGLZXE9J5CZZp1UAt X-Received: by 2002:a05:6358:93a7:b0:134:e549:50d6 with SMTP id h39-20020a05635893a700b00134e54950d6mr11268808rwb.10.1695682253051; Mon, 25 Sep 2023 15:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695682253; cv=none; d=google.com; s=arc-20160816; b=A2FW7NFNQwhXt6lucVo+Wc1f0GYPfRbwZ5s0DwSxwT9pLn+B4r0q46EkKbt7iisx/i 41AD/P/4hR4eCKqFutuoCbZwlZizsKDPEUZQ4SGQOS3St1eXmsW01R4ApUAmwTMQumew Aoosg7mRlv1J1JWGg0lETEaXD5m6shxRERB3Jxa6SKrVH6CvR6Dj8NWcj16AbsBphEld KEq8ieHA8QaIkglAYg2fNTtgRlWYRKpw0IL879S4Ghhtbp6rpXVyuMuRVsj7s9AiqL8z HRMjhUPAc4VIZzeSjn0ylh9/qJChF6QerIkOTLeXmmz5lPy1onFtpd2QCUFC6ru7MvRd qHzA== 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=PgK9pPf+w9TBlTyL5dT/ncKHFfeZVhuT1tpxlfIaF4Q=; fh=rJgFeh1a7SA8d4CaoV3dRdtGj3YsCRUBmzvPZxU7rbA=; b=n1SkXMETf0Gp6kIXmcXiGUYNtzpxR59gihclyuVBIMjNtvgD50pPi4i4J4q42TQ3NM 99oicZn+GdrDBs4Soslv2KkQe4M0cD8y80UPwf2b+GcamBCjs/LWU7YcIzniJiB3r21/ TeYF7GHebKxQ0yeDJvte3kLFmUpW9+Tw6ACnwd+acrtq1jCzxzelIueLab1je2NDbgvu nwAGXyYJKEH1NztfmPn3igRxsvv2m9oOxHjzPow1o4w8+YbEEFg2ZSzvlO+bD/GiJ0vv 1u5Km51V7UbOaPb4LIZ/kCuBdv6a5bwDfBitQomfQZAfBsQptMh+/oMmJ7c94bM5NNi+ fPpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=asRgZhjK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id v186-20020a6389c3000000b0054fdb18c877si10829692pgd.607.2023.09.25.15.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 15:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=asRgZhjK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 43E43802840F; Sun, 24 Sep 2023 15:31:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229553AbjIXWb3 (ORCPT + 99 others); Sun, 24 Sep 2023 18:31:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjIXWb2 (ORCPT ); Sun, 24 Sep 2023 18:31:28 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B470A83; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c5cc63ce27so7183835ad.0; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695594682; x=1696199482; darn=vger.kernel.org; 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=PgK9pPf+w9TBlTyL5dT/ncKHFfeZVhuT1tpxlfIaF4Q=; b=asRgZhjKPjem+G+OybUi8qsBOLqk3oy0fV7drorXiuPiwR+ZpNOmTD7Cs5mvvCt9Fw HfHYrBSik7QJ5/kkvLoS/tFWQe41huCB/10ZJicB/mRdfD72N5M+mnsbW3xHe1l+Ki+0 XEYUfy9Emz8FGj1gTZq2WPwYbhU+bnaJIvt2DfSisthcy0zqPj8HTYuMEY1r+45Lv+4r extgQ6Gkjr0g/rPM7YOpkcNHaVSMjfRi37JnrStjNLTAUXkc5TNffz+hwjB78m9O67XU 5lXGeP7SGYckUfIQyNHvLpKtHs7Kq/B8wWzDoHdCiZbeKtHwRc/WcXyDt7Pz2djSGOCy z3BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695594682; x=1696199482; 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=PgK9pPf+w9TBlTyL5dT/ncKHFfeZVhuT1tpxlfIaF4Q=; b=SgOQMlCFTcGV/4rq62ga1NwGafPY2K0/UllJjOkIkxoqqkSqh+XX1zcqNbZTV4YKHD mvjIVMT7gR4qcV34MGe25dGEjWpoMesym6skZKoBq7vbAnEHVLLKXV8t6jz2WBn+DQef 50aXq0Il387dIw0o79xJ2mricw37Pc3tOBZCgf9bOeDOh1W56BkHiwzPqL6CbCAWyeGo l2nWYi5//w9tMydHo2HIOxSWgPkZDi1cCic5iF0BxDJeE7dNeeEHgunhbzbqRO5AK/7w 4T4+KVmBy8FciDvJPUW93r6N2VnZeGc/lxQpbBA1huGnfei/pv0dk5o59gaQbxX/wpKy HIhg== X-Gm-Message-State: AOJu0YzoXXilAnQj+oona80wEZS9wEHeXSajN5lclwAgVLwMeuFfJQ5g S7nT1lFrzmUYgFNbmxaCKMV6ie5KrdE= X-Received: by 2002:a17:902:da91:b0:1c3:6d97:e897 with SMTP id j17-20020a170902da9100b001c36d97e897mr6387029plx.5.1695594682068; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ce8e:216e:1d92:cabc]) by smtp.gmail.com with ESMTPSA id 5-20020a17090a1a4500b00274e610dbdasm9315258pjl.8.2023.09.24.15.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:31:21 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 3/4] dt-bindings: crypto: fsl-imx-sahara: Document the clocks Date: Sun, 24 Sep 2023 19:31:03 -0300 Message-Id: <20230924223104.862169-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230924223104.862169-1-festevam@gmail.com> References: <20230924223104.862169-1-festevam@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 24 Sep 2023 15:31:27 -0700 (PDT) From: Fabio Estevam The Sahara block needs to clocks (ipg and ahb) to operate. Describe them. Signed-off-by: Fabio Estevam --- .../bindings/crypto/fsl-imx-sahara.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index bad82491cd6a..9dbfc15510a8 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -21,17 +21,34 @@ properties: interrupts: maxItems: 1 + clocks: + items: + - description: Sahara IPG clock + - description: Sahara AHB clock + + clock-names: + items: + - const: ipg + - const: ahb + required: - compatible - reg - interrupts + - clocks + - clock-names additionalProperties: false examples: - | + #include + crypto@10025000 { compatible = "fsl,imx27-sahara"; reg = <0x10025000 0x800>; interrupts = <75>; + clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, + <&clks IMX27_CLK_SAHARA_AHB_GATE>; + clock-names = "ipg", "ahb"; }; -- 2.34.1