From patchwork Fri Mar 5 07:01:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 12117873 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE531C433DB for ; Fri, 5 Mar 2021 07:03:50 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6607064D74 for ; Fri, 5 Mar 2021 07:03:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6607064D74 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Lt5yb83M8gPLM+j9q52mXhbhFXC8o/d6b/DP2Exg0fg=; b=SnexO2MHTkOcpMxZ13jlvQ6Al TpjCNeHFKNHoKgh6yO0BhoUvk2W48HnQIS/J+BzSwhx0usJPeK8VV0LvLROVxn8EcdEmNQAdpBCQJ LmEeKcIN1pBXdXSlDI23t9jirc6N3I6yjkM6E0nPUYBGGTlEAO5TlrCSDyRgz+lFQdoqtaAlVIPwE OsSpFQSoiHYhzylGixf+Tf+ZONqc5gGkT4CjKe4gFrkXF/EdGM1ooeAG0RDUTWns1CW85MXgGlUkm UaJlVayrO8sQzmz0wwbiYCYDepN1bpUyfaXz9X8Q+/tpgxzDQ0WERapfev/L7Bh6zL22NU1N488Ts 8BOSl4gSQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lI4TN-00DWf6-Di; Fri, 05 Mar 2021 07:02:07 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lI4Su-00DWM2-BR; Fri, 05 Mar 2021 07:01:38 +0000 Received: by mail-wr1-x436.google.com with SMTP id j2so883802wrx.9; Thu, 04 Mar 2021 23:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ua2t/yBcyeLhQb6et5ovZpSh5qBfeyV1CmPe3Ubpqw4=; b=dXPG05Y3q9M56ir9GDeAlCeIp/gQGc54yedo7eS5nYaF4/V64Iz0BAMB8A9o4D237Z P1u/Uo/LHtyqzYqDN/5qZ+YDyObVH+WoDTit4aae0nZAggUmWiTX2wAl/Ske8lTTDZ4C +FN8OqjLhLcKGD3nUba0mmIM5PkKsyGXvgZ+QrQGYM7hL+yyuvc2FWR/ZLXdJAS+A0C5 22fA8X+rbrs8nAfcdQge8QF7848zbFjxz1ljcKJbCURqG1Hn3Iyh2gIZs1HUKtz96ayQ ANU5XmY5hoBG0hH393O++kSU2sRparpxHQappf24mTc2EibnPGukDJeSKFk7igjG+ROt 2iBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ua2t/yBcyeLhQb6et5ovZpSh5qBfeyV1CmPe3Ubpqw4=; b=tIaQhQrGFD0m3WKThW10vd8hMYSbfI/ZkvxZEIpYSfkomS/qAsNXkjZaNDYY0S0uHD 8qa9QhhfXz3OeG26KmxSGVd/rp4Bla32A402JaVLvDloNtcrdDmsVjn/fgowBo+zbNXs oZz8KI67zcNpoFi6HYJwGMgmuopsquDL+1AZLFRN8qgqqjbLYVlc/BKN7qQPAh4Mhwwc Wfs31YUQtcNvgiB8nrZ6u4HknBSRxw2tfXC71A53G6NUqa96UaI0ukeZejEsrN2MJYMO YzdrlS4SkhQAWbyXGWmi84H8qnsyEzbJidPJb9EOFhRwRrBBeslJ0ff80DsqpEoYjAkF qaEg== X-Gm-Message-State: AOAM530ClbsArnH1f+yjAsfKihf/uZ9Qc/P7ny6e0Uvl3rUzql42L1NQ B9ntrQ2COgY6PZ1NvwXYdew= X-Google-Smtp-Source: ABdhPJxo+xAiAsPRqicUOz3h36tqGtCljoVRmcJ8qeVK1QdDaq0WIAPMLT0eQkaKK4xWueYmKmezsg== X-Received: by 2002:adf:a302:: with SMTP id c2mr7664961wrb.212.1614927695824; Thu, 04 Mar 2021 23:01:35 -0800 (PST) Received: from skynet.lan (170.red-88-1-105.dynamicip.rima-tde.net. [88.1.105.170]) by smtp.gmail.com with ESMTPSA id y18sm2799220wrq.61.2021.03.04.23.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 23:01:35 -0800 (PST) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: Matt Mackall , Herbert Xu , Rob Herring , Nicolas Saenz Julienne , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Philipp Zabel , =?utf-8?q?=C3=81lvaro_Fern=C3=A1nde?= =?utf-8?q?z_Rojas?= , Lee Jones , Bjorn Andersson , Alexandru Ardelean , Rikard Falkeborn , Tian Tao , Stefan Wahren , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/3] dt-bindings: rng: bcm2835: add clock constraints Date: Fri, 5 Mar 2021 08:01:30 +0100 Message-Id: <20210305070132.2986-2-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210305070132.2986-1-noltari@gmail.com> References: <20210305070132.2986-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_070136_969550_3B544E69 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org brcm,bcm6368-rng controllers require enabling the IPSEC clock in order to get a functional RNG. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Rob Herring Acked-by: Florian Fainelli --- v6: add new patch making clocks mandatory for BCM6368. .../devicetree/bindings/rng/brcm,bcm2835.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml index c147900f9041..5174492e22f3 100644 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml @@ -35,6 +35,16 @@ required: - compatible - reg +if: + properties: + compatible: + enum: + - brcm,bcm6368-rng +then: + required: + - clocks + - clock-names + additionalProperties: false examples: