Message ID | 20231206014236.1109832-2-jiajie.ho@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3824558vqy; Tue, 5 Dec 2023 17:43:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEv1UHD4oLD9w4nnec2Fa/i2sBrd4mCjMKDV0X2Wg4yQ34xEJgXqKt9RvtpsvOzSYP5Ir2B X-Received: by 2002:a05:6870:6716:b0:1fa:f637:a5a0 with SMTP id gb22-20020a056870671600b001faf637a5a0mr146557oab.58.1701826981938; Tue, 05 Dec 2023 17:43:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701826981; cv=none; d=google.com; s=arc-20160816; b=qGa9nKX4ct6NlJeQHoQZaSK4H68tnpaNTzBFecn6yqW5+WotPh8inNLCKNL1boX7o2 txZVYQ4XVEFiMcuYNiHtUvfiKUOFdA1HKfIebUNw5cCvCu9ZrAUtKpupWn8YfhVvunVB yJ0Zx2BspnJXNFOOhYHm87G1Mx6nBvrzHvijhde8/4CYBAaN59kvEek0U2unACQdAieG RGL//RV2+W7iTEEpHbsRVGAOKAcnEgVhyJAWIGjR4l5M99ym7OYBz1+4q6l91KWhTWRD 8AkwfkdJnv3yOrXfcUD8NxjlAMo3sreL8xlrhkewLq2Aa4edpr8WhRmakHq8F7as9sP5 qn+A== 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:to:from; bh=K8m0AqdlaB8+8uf/BSFmgZ+CXET1YFAcCB5ZtDykJME=; fh=UgaLgXimiH774VNrJn8BUBFGfqqCiPxvq9A+qX5vBXk=; b=l37Y405XEz31v5TxZEL56qoxwXtLKDcHSZTQmleF3niq/2pLoDIYgB2lye0cCIu7tV Zd6UOAhNr1tmISq7Ar6Vzxxcoi3FPjJOTZNwOHAwUppRW9I4C0SGRD/8MAn1XbKNru7k ds64s2kBW1bmlyiYiAFoVMC1JNu/h0wi+GMVYQdastBx2sAlA1DBxD2pUlUxGAw887Z+ cjp+w5chfNdpEkYoqTE9laDY3C4Xjoig15t2O8yMjYiVmfXMmR35A98Taao3aSkMayY3 lanFgfSpqCGQB+ZibDQdQ+vy7bbP67ap4tRa1WUbi3HDCr1qIm0IhuDdpTKEFNC1rK1B kgYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q33-20020a635061000000b005c622a6f3d8si10540659pgl.765.2023.12.05.17.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 17:43:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A794480ADEC7; Tue, 5 Dec 2023 17:42:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376511AbjLFBmq convert rfc822-to-8bit (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 20:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbjLFBmn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 20:42:43 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3EB71AA; Tue, 5 Dec 2023 17:42:46 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 06B1B7FFD; Wed, 6 Dec 2023 09:42:45 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 6 Dec 2023 09:42:45 +0800 Received: from ubuntu.localdomain (202.188.176.82) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 6 Dec 2023 09:42:41 +0800 From: Jia Jie Ho <jiajie.ho@starfivetech.com> To: Olivia Mackall <olivia@selenic.com>, Herbert Xu <herbert@gondor.apana.org.au>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, <linux-crypto@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 1/3] dt-bindings: rng: starfive: Add jh8100 compatible string Date: Wed, 6 Dec 2023 09:42:34 +0800 Message-ID: <20231206014236.1109832-2-jiajie.ho@starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231206014236.1109832-1-jiajie.ho@starfivetech.com> References: <20231206014236.1109832-1-jiajie.ho@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 05 Dec 2023 17:42:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784494929719570592 X-GMAIL-MSGID: 1784494929719570592 |
Series |
hwrng: starfive: Add support for JH8100
|
|
Commit Message
JiaJie Ho
Dec. 6, 2023, 1:42 a.m. UTC
Add compatible string for StarFive JH8100 trng.
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
---
.../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
On 06/12/2023 02:42, Jia Jie Ho wrote: > Add compatible string for StarFive JH8100 trng. > > Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> > --- > .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml > index 2b76ce25acc4..d275bdc4d009 100644 > --- a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml > +++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml > @@ -11,7 +11,9 @@ maintainers: > > properties: > compatible: > - const: starfive,jh7110-trng > + enum: > + - starfive,jh7110-trng > + - starfive,jh8100-trng Your driver change suggests these are compatible, so express this here and drop driver change. Best regards, Krzysztof
On 6/12/2023 6:17 pm, Krzysztof Kozlowski wrote: > On 06/12/2023 02:42, Jia Jie Ho wrote: >> Add compatible string for StarFive JH8100 trng. >> >> Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> >> --- >> .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml >> index 2b76ce25acc4..d275bdc4d009 100644 >> --- a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml >> +++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml >> @@ -11,7 +11,9 @@ maintainers: >> >> properties: >> compatible: >> - const: starfive,jh7110-trng >> + enum: >> + - starfive,jh7110-trng >> + - starfive,jh8100-trng > > Your driver change suggests these are compatible, so express this here > and drop driver change. > I'll update the series accordingly. Thanks for reviewing this. Best regards, Jia Jie
diff --git a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml index 2b76ce25acc4..d275bdc4d009 100644 --- a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml +++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: starfive,jh7110-trng + enum: + - starfive,jh7110-trng + - starfive,jh8100-trng reg: maxItems: 1