From patchwork Tue Dec 12 03:25:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JiaJie Ho X-Patchwork-Id: 17882 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7487732vqy; Mon, 11 Dec 2023 19:26:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCl7Bz3OOOZRrzpdg4l7kFikG3dLTXoBJUNIBL3FzpYv7y2I/YsnLfrDrSgXa2Jjfnxe90 X-Received: by 2002:a05:6830:164a:b0:6d9:d902:44f0 with SMTP id h10-20020a056830164a00b006d9d90244f0mr4952967otr.50.1702351564359; Mon, 11 Dec 2023 19:26:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702351564; cv=none; d=google.com; s=arc-20160816; b=uyE1lHznwVYGXzk3eWzTxJY3aFHDOQ5cZQ11rUiC/rjv0YnGh6g/cQ2F/8f9i+woJb culrYHyUOGdKE/6Fbpy05g/zvv/lzKXNvV8z3PGvMvby7kj+LvdAgadw4WkOd7kVKUOf AD1xXjIOlvySRYQ7dGr1zi12MXR13HohxQFdu4ZEuCKuKsvSkO/OfremGh/y19ntenV+ 0KOcPy/fhYb8L3Va51bjXLP6c3L8RGm5DsI5kmn8GYrQT1XeL11CEc6k11SUw/OeBWZf edlx6YGzxcTRfIGSKCP8dB7zqX/Kpj5fHeh0PZIeELrPUzQ1HJYKJIIObELLvBzZiSCn pwAA== 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 :message-id:date:subject:to:from; bh=xH1pcIUjKEgN4i/RGdlkkTLymAoRhLyngT1SvxlsQ70=; fh=UgaLgXimiH774VNrJn8BUBFGfqqCiPxvq9A+qX5vBXk=; b=rhsrnpu7HsqM/7HWvn7o7zARyFxy0bi8bmUXJXzmVfHxslwr8ETGZLnm0sDzWfR96t Jik5KR89XGYGrFk7bMZ5S+eHhlqCGboi3eJ45Ylaix8uBqAyfV5CiH6YKeh0E+A2owio MwXSgVViP+6MFUohzmAW7xLkT+GtEJvj7Ne+N7B1GhfqujrLSikTS+yNVnx1Z7ssot7z SZBIw5yM8ADsV7FQZ5DrXbBdW8I+KjPkQpFurA66usWYL01d60PCSD7rd0J8AckGis0H 78qc2RDXIQGrpkrU3COikC09DS6VE7yO3uhyrIw2m8xjPvHhDSCD1TLky7ny4/SFW4Ti pBvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a28-20020a62d41c000000b006cebc804fb3si7053344pfh.381.2023.12.11.19.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 19:26:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 62D0980B2D67; Mon, 11 Dec 2023 19:25:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbjLLDZ3 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Dec 2023 22:25:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbjLLDZ2 (ORCPT ); Mon, 11 Dec 2023 22:25:28 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF21B8F; Mon, 11 Dec 2023 19:25:33 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id BB1748080; Tue, 12 Dec 2023 11:25:32 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 12 Dec 2023 11:25:32 +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; Tue, 12 Dec 2023 11:25:29 +0800 From: Jia Jie Ho To: Olivia Mackall , Herbert Xu , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , Subject: [PATCH v2 0/2] hwrng: starfive: Add support for JH8100 Date: Tue, 12 Dec 2023 11:25:25 +0800 Message-ID: <20231212032527.1250617-1-jiajie.ho@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 19:25:38 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785044994124122706 X-GMAIL-MSGID: 1785044994124122706 This series adds driver support for StarFive JH8100 trng. It also updates pm ops of the original driver. v1->v2: Dropped driver .compatible change, express new compatible string in devicetree bindings instead. (Krzysztof) Thanks, Jia Jie Jia Jie Ho (2): dt-bindings: rng: starfive: Add jh8100 compatible string hwrng: starfive - Add runtime pm ops .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++- drivers/char/hw_random/jh7110-trng.c | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-)