From mboxrd@z Thu Jan 1 00:00:00 1970 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 E123AC433DB for ; Thu, 4 Mar 2021 12:10:23 +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 8987664F21 for ; Thu, 4 Mar 2021 12:10:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8987664F21 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YzX5IU2kboCu+w2zfCaB/raZ9SCMfI5MX8BKsHuhc3A=; b=gDCfzkZLNVqnsXDLaRBLOy8V4 5cvdNGSb/NxX+02yyGLI8WvNm+jhJIPF5vB4FBrsVG2i2LbVUbHqGqSTRdo9BqfDA+6CnEXngY47/ vr8gQHVJPWCtF3QKdSIVkqnFJjX6O1qTwOdrbbr+mftIrZ4YU7Ij+7szof1ABlsCM8m5ChlVrnqou DTqZrVgjUyUd9zQCOe0stoUyflg22xUZmahDBGxmrBT5/LTi5CHdkEPxaaAt5lKoDQMtSpKlF3put NG4KRjTIU7duLFhfxlRPNvK8rygNhFhkL+F9z4RkVF4VDmTi2Us5ge5T0XLXvRAZvwSpblhVWSbzc dM8I98QkA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHmmZ-008YPc-7b; Thu, 04 Mar 2021 12:08:43 +0000 Received: from mx2.suse.de ([195.135.220.15]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHmmU-008YOf-8x; Thu, 04 Mar 2021 12:08:40 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CAF82AE47; Thu, 4 Mar 2021 12:08:37 +0000 (UTC) Message-ID: <4da2069125bb6ae52f0e786d67994966e299ebd1.camel@suse.de> Subject: Re: [PATCH v5 1/2] dt-bindings: rng: bcm2835: document reset support From: Nicolas Saenz Julienne To: =?ISO-8859-1?Q?=C1lvaro_Fern=E1ndez?= Rojas , Matt Mackall , Herbert Xu , Rob Herring , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Philipp Zabel , Neil Armstrong , Alexandru Ardelean , Bjorn Andersson , Guenter Roeck , Rikard Falkeborn , 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 Date: Thu, 04 Mar 2021 13:08:36 +0100 In-Reply-To: <20210304073308.25906-2-noltari@gmail.com> References: <20210304073308.25906-1-noltari@gmail.com> <20210304073308.25906-2-noltari@gmail.com> User-Agent: Evolution 3.38.4 MIME-Version: 1.0 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: , Content-Type: multipart/mixed; boundary="===============1835798187818592215==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1835798187818592215== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-tjGlIJA8Bhhn95v4z4X8" --=-tjGlIJA8Bhhn95v4z4X8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry Alvaro I missed you sent a v5 already. See my comments in v3. Regards, Nicolas On Thu, 2021-03-04 at 08:33 +0100, =C3=81lvaro Fern=C3=A1ndez Rojas wrote: > Some devices may need to perform a reset before using the RNG, such as th= e > BCM6368. >=20 > Signed-off-by: =C3=81lvaro Fern=C3=A1ndez Rojas > --- > =C2=A0v5: no changes. > =C2=A0v4: pass dt_binding_check. > =C2=A0v3: make resets required if brcm,bcm6368-rng. > =C2=A0v2: document reset support. >=20 > =C2=A0.../devicetree/bindings/rng/brcm,bcm2835.yaml | 17 ++++++++++++++= +++ > =C2=A01 file changed, 17 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/Do= cumentation/devicetree/bindings/rng/brcm,bcm2835.yaml > index c147900f9041..11c23e1f6988 100644 > --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml > +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml > @@ -37,6 +37,21 @@ required: > =C2=A0 >=20 > =C2=A0additionalProperties: false > =C2=A0 >=20 > +if: > + properties: > + compatible: > + enum: > + - brcm,bcm6368-rng > +then: > + properties: > + resets: > + maxItems: 1 > + required: > + - resets > +else: > + properties: > + resets: false > + > =C2=A0examples: > =C2=A0=C2=A0=C2=A0- | > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0rng@7e104000 { > @@ -58,4 +73,6 @@ examples: > =C2=A0 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0clocks =3D <&periph= _clk 18>; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0clock-names =3D "ip= sec"; > + > + resets =3D <&periph_rst 4>; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}; --=-tjGlIJA8Bhhn95v4z4X8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAmBAzcQACgkQlfZmHno8 x/4I5QgAqH8iPmySuMTTr17Uc7Kg3HHpkc4jS9fYAyfPB4SX1CD88wXXht5VqyGp Te/xNXA5pqvsYl0Ui66pM8Rd87f7vjW1RynmKSFeFbIwBs8tEZQ6r8aMm6pt3cXd g0+ZVBpVb/sYsM6Cmbc25EWoJYfzvEHMa+zuVJEVxOyaQFdlVPaKsCI4oEbIUz8+ 4s3yam2oVipTN5GzYh7aSM+l5GUK1b/kZtpxxlk3a4C9HVyNi/FfCEOTeYmRi054 wJL4CvERNbFuX+3C/IJCHUuTBJT7lT8WmevEcJ8uv+hL2iRkNMVeMMgf5x38ViWo IDAUGeat55U8qCLNHShDNJrq4f+Dlg== =QEvf -----END PGP SIGNATURE----- --=-tjGlIJA8Bhhn95v4z4X8-- --===============1835798187818592215== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1835798187818592215==--