From patchwork Wed Dec 6 01:42:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JiaJie Ho X-Patchwork-Id: 174257 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3824703vqy; Tue, 5 Dec 2023 17:43:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbwaTXZnFnIYCJBTsRJA0sb3hk0jwYn/ZxQql16L3ypcsCyzUeleFNdqvmG26K4OILZIDo X-Received: by 2002:a17:902:bd4a:b0:1d0:acfc:a64c with SMTP id b10-20020a170902bd4a00b001d0acfca64cmr61405plx.125.1701827003234; Tue, 05 Dec 2023 17:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701827003; cv=none; d=google.com; s=arc-20160816; b=Roc3MM5ykvW0x/V9P9u3aTQf0l8DXEX0Opx1CH0Zba1nw7bJ9Uj3aK+4l+6IAY16Mx VeM3THMVQM1F2yh+AuzeVLpqiK2YA+RaxJWdG/C+prMmdtxUD54D9/M7z/fT3Eh93gjJ wcV2JfNjO/hf7TabbJJm8E5ynjjJn1hvfQSACUl1i624SNcaEuw2k4oI1ScnncQIk0ue LmezBLt2PQGup9CHyq1XTux1rVQS/idFLdt6uOvx215I5lrujSf4xmlKyhrf9+EVQ37Q yBikpNMog5gAeIT2INCu3VN6MUZ4fZtR/CYg8Q1k8VmxxHhaC9y8s8tyCMlrraeanSlx oBfA== 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=pCd52hy5/8OUYj2gG+V3YglH5PUXgKUpqdU+7DGePrk=; fh=UgaLgXimiH774VNrJn8BUBFGfqqCiPxvq9A+qX5vBXk=; b=PmEPOMgc4jg+DsoD756KauiQx0Y/vA+l4recmthNaGbUFlyZBn35x1HSqFtQRs6Ufc JddlcZ4gBUq3bt0XAHmymhixJNQ6TCLQ6VStjkNGXjqnG/clUeg6+5tunW708yQsHt+k qZEZjHNLQqacNcRKNrT2pgMQSewgakaO/XYOUjVjkv8RXFXfv7w2t/S4n1nwZztMFL6n CPsN7t0iSx2cSV/iEVn2mZEYHRkszmNAVlhz8ONk/H6PnWCKvw897rMIw70dgsX2u5YY kPvw0Ssh+m4xAb1zSppH1ikdLV6LHc8tL7cM1TfpFQY8uwWz02vew7jcr1/CVv4yEgeF THvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id r5-20020a1709028bc500b001cf68d533fasi5767041plo.633.2023.12.05.17.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 17:43:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id BAAC880310D9; Tue, 5 Dec 2023 17:43:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376533AbjLFBms convert rfc822-to-8bit (ORCPT + 99 others); Tue, 5 Dec 2023 20:42:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376485AbjLFBmo (ORCPT ); Tue, 5 Dec 2023 20:42:44 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3B01B8; Tue, 5 Dec 2023 17:42:50 -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 ex01.ufhost.com (Postfix) with ESMTP id 001AE24E23E; Wed, 6 Dec 2023 09:42:47 +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; Wed, 6 Dec 2023 09:42:47 +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:44 +0800 From: Jia Jie Ho To: Olivia Mackall , Herbert Xu , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , Subject: [PATCH 2/3] hwrng: starfive - Update compatible string Date: Wed, 6 Dec 2023 09:42:35 +0800 Message-ID: <20231206014236.1109832-3-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 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 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 17:43:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784494951612411078 X-GMAIL-MSGID: 1784494951612411078 Add compatible string for StarFive JH8100 SoC. Signed-off-by: Jia Jie Ho --- drivers/char/hw_random/jh7110-trng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/jh7110-trng.c b/drivers/char/hw_random/jh7110-trng.c index 38474d48a25e..46272a9e5964 100644 --- a/drivers/char/hw_random/jh7110-trng.c +++ b/drivers/char/hw_random/jh7110-trng.c @@ -374,6 +374,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(starfive_trng_pm_ops, starfive_trng_suspend, static const struct of_device_id trng_dt_ids[] __maybe_unused = { { .compatible = "starfive,jh7110-trng" }, + { .compatible = "starfive,jh8100-trng" }, { } }; MODULE_DEVICE_TABLE(of, trng_dt_ids); @@ -381,7 +382,7 @@ MODULE_DEVICE_TABLE(of, trng_dt_ids); static struct platform_driver starfive_trng_driver = { .probe = starfive_trng_probe, .driver = { - .name = "jh7110-trng", + .name = "starfive-trng", .pm = &starfive_trng_pm_ops, .of_match_table = of_match_ptr(trng_dt_ids), },