Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1507074rdh; Mon, 25 Sep 2023 15:16:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkYREQ8G7a3XeSNHQwD3QMQrm7E+aA53Eqjcgwg1cvPrjFyVgyMzENmEiJzVeYqx8zYVhb X-Received: by 2002:a05:6a20:a110:b0:14c:d0c0:dd27 with SMTP id q16-20020a056a20a11000b0014cd0c0dd27mr6607693pzk.44.1695680165165; Mon, 25 Sep 2023 15:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695680165; cv=none; d=google.com; s=arc-20160816; b=gROysCz9dRrSTV81vR43q2CEZDOfKuLBYxGJhSXvRErzEaBWYSjqrVfOiAvwLSiboC tr3KyciTaAHUcAza0p6zxlPs+fRYYT5g+HYRsNa+ZMsTtJ8JwPcfX0dgLx70y5to4vbb u1sOKz9+1mTdrmvtd7NpAqNsEaGQj2Z+kBLNIByuTtLw0CGNSlpI+Bt+BIhKN5hlwv4J KC8PZuj1fZn6RiMfgNvlJUAd8WQmfHVxpG/V9syLvAQIkdMEyjaVGteP4S8XDOGxs8KZ lTXYQYjW0vFOE9YycDyLy/hh2gitkivHReUNCsYDPkbhdjD0vWTs31DcOfsIheA8gneN omrQ== 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=xCqerfCc4AP3+BzhaJLjuWZRNSUdYSAiu9gWle70v2Q=; fh=DCKXQIZaLBlVZR3PG22CRJstrBAP+ijyeULoBUw0aIw=; b=iwkJ5zHmNbJNtDfRw6bcnloJ0zHQZKI5ELmUfn8/ZWJseYVOQgCAPi6CQKfgrWtE76 kRDBd5y53tJw0IA/R1J9DlvyVRLC5kWf4ytQpnCzG/faAPHvTSECgsv/9Q/Q2EmJe23h qI/pqlp7TupPiiEasRa7vwxjIajq+7tXCwn6XyRJWYIG731+3afSbouDmcAEcpp62S4H ZpdODTnl9dopVhd2hdF+MCOVptqCsI8yeUm6qo3NLK74JrHKPOkKWGu+Ak+0s7JNCpgu XIvVQ+T0sBdS89ea1+JwmaSouYKoRVFwBZ2sTnu1bC1cz+byh5BF4rZ6hzZqpIx1MN0J VM5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C/05FtRc"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o3-20020a170902d4c300b001bdf71d52b0si11812520plg.456.2023.09.25.15.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 15:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C/05FtRc"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 49394802531B; Mon, 25 Sep 2023 04:12:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbjIYLM6 (ORCPT + 99 others); Mon, 25 Sep 2023 07:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjIYLM5 (ORCPT ); Mon, 25 Sep 2023 07:12:57 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E77EDEE; Mon, 25 Sep 2023 04:12:47 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-79fab2caf70so28366339f.1; Mon, 25 Sep 2023 04:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695640367; x=1696245167; 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=xCqerfCc4AP3+BzhaJLjuWZRNSUdYSAiu9gWle70v2Q=; b=C/05FtRckKaxFw/ZjpHhrHoNVhVZZqQ1nqhsdG9UosKV0rLMTXc9jyuJ60fVZHZAfU RfrfpINck3+am9+Dacwm8uJhek4YjMfgCv+4aHOXX9MEGg3GO32vxYdyOHMXBoXmiaFR MXCOKqNbH5mAqpL0YY2wS7VLiKzHCe6ALjAtOwJdJftGUKBZbeSXItiOTBDQHiN85fDb wBNfA4IpGvTJ8X9bQjyHYOXG6UKurBZNxwqvFsfpvwTNGNRzB7qP+uzoW2CC/gA4no1S ahwX6j0aQFs3KyYiviQL3qP/3fUeGo98uyOYnNWl76OBt1EKWYKL3m6LYGCnrh6vPjmG sN9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695640367; x=1696245167; 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=xCqerfCc4AP3+BzhaJLjuWZRNSUdYSAiu9gWle70v2Q=; b=YJPGY42zz8leT0VQhgnEcjBUdTJSEFqB9Z2kuvCvHA/PPexAnZXVyHjUFd6DmdGXP8 fhZRsfZnHpzF4RmgBYAIaOqKuTGUEqqkuE9zzadu0mwpdYbyNXCFDjSpX0la5r4ZhWq6 xeTRvDV1zoG3mEvIoP5hqC3PE/aW+6A0aKdPqvP0oBPgCZq0XzbzOGSxj0Xa2SJMVMMi zqHrTLBkxKKv5xl+5YE9dCfJIa89vm8JDV5xtQHhU3mTH6H9YCNl1m9PZfIfz9ovsi5e PoZ5G3yak3cLM56HPOhY/3DLZyUCdrftI3NYMc3rmJelsZ7c36cn3NodsIB+R/QXGq4D 1xyg== X-Gm-Message-State: AOJu0Yw8A0+j44O5KQEH1TSBZX7Im7COJ0m0V9FyX0sTjD7WUSvByl41 452XJzqRxjXSz27MuB4GlSa2lIhQBS4= X-Received: by 2002:a92:d40e:0:b0:34f:a4f0:4fc4 with SMTP id q14-20020a92d40e000000b0034fa4f04fc4mr5898947ilm.2.1695640366963; Mon, 25 Sep 2023 04:12:46 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:fbad:220b:bad3:838c]) by smtp.gmail.com with ESMTPSA id 131-20020a630289000000b00528db73ed70sm7832772pgc.3.2023.09.25.04.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 04:12:46 -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 , Krzysztof Kozlowski Subject: [PATCH v2 2/3] dt-bindings: crypto: fsl-imx-sahara: Document the clocks Date: Mon, 25 Sep 2023 08:12:19 -0300 Message-Id: <20230925111220.924090-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230925111220.924090-1-festevam@gmail.com> References: <20230925111220.924090-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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 25 Sep 2023 04:12:58 -0700 (PDT) From: Fabio Estevam Describe the clocks (ipg and ahb) needed by Sahara block to operate. Signed-off-by: Fabio Estevam Reviewed-by: Krzysztof Kozlowski --- Changes since v1: - Simplify the commit log. (Krzysztof) .../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