Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2325220rwb; Wed, 30 Nov 2022 05:24:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xcXmDqL8OdrTyc38L7nkq7/Bbs+vkGgse2kIynfCH+SO+1b+OtOe9PPkQXHDsBiY5gkXR X-Received: by 2002:a63:d143:0:b0:476:c8c5:ba85 with SMTP id c3-20020a63d143000000b00476c8c5ba85mr52733131pgj.182.1669814673825; Wed, 30 Nov 2022 05:24:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669814673; cv=none; d=google.com; s=arc-20160816; b=lTy92FbNphj6E/56gglS9kn7pyxk3q0ean6zQrPb/EpWsoJLIbcNgHX1e+8nyL2nwA R8FGf/28/kJRUn/0Taii8mnXxcD1Vp+zgcrSEzXV+1Vokyff4WJs2DjBnu29uTyXQyJG 8RDPOhRc/bgrpUQuoOGfoGekQItDdwqNmMtzNEUZKXivsIB8eq7oEwM1kTOtR6TEfcmD PJYO9lkq9LXDuLjtq79NyDEZRHIqLJU2zD8BUKBnn2MAFNZLdN7EJqilVHIZ1Xuzf4fZ zHlLCCWs8XDr2QSih780Z2yFJQ5yJHfuPdjhkJKVj0vLoNUNq/48XmaNQq7IhYp0YD+Y 3hyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EX67p13z8d9r6utOQ3HspL4ZQU3w0yz+MFaOvH14Afg=; b=riHB+rldPC3CI3Z97wIvLx938tbmDWVL0S33ZT6VqxCx38/QlkHv6fIgg0DXCc6Fhr 7CR4e+oN4S7IBZD2G1B0CkNQKNmYshDMRyFRasMcq+YFy/SKqFDwjjjnYwk881Fh7hGD ModAYiv3PmlEQG05DzgqobjXWagdsnfmCBXMN5PY54QV/lZVmeAbTlXvV/4tNBr+svcn COf1r7csgXfo8FqJlEsgYqS+kIhYV7FHcb8g3rusrBviP2xzRSelcq1JdIddeiREEmgZ gwSeWqFU8OgnPIfXar/78eg188kFUXtMSRHsGhgyXCWsdlCR6cP8YxXrPh08qd2S/LuX mwng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HbKbsmDa; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d29-20020a631d1d000000b0044034f3a27bsi1242205pgd.101.2022.11.30.05.24.20; Wed, 30 Nov 2022 05:24:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HbKbsmDa; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233781AbiK3NWF (ORCPT + 99 others); Wed, 30 Nov 2022 08:22:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235844AbiK3NVp (ORCPT ); Wed, 30 Nov 2022 08:21:45 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198B57CAAD for ; Wed, 30 Nov 2022 05:21:39 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id f13so26898641lfa.6 for ; Wed, 30 Nov 2022 05:21:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EX67p13z8d9r6utOQ3HspL4ZQU3w0yz+MFaOvH14Afg=; b=HbKbsmDaHQCbziDgajKR80oOYPdVMbLximh6GWVUvz9kqlJroCPovLR5nuOjq9/uep asR8yhq+pOBgRnaYu8Wr4kGSbOInPEYT/bbLLi1cB1nVZdlYzrlolleMsVY4so9dqY+d /02g1se7UbNg75PTLaDlhbPCKMtYwsnhXotrZxfehQ1WUakUR+LFiQcYNzKtrXxPh4kA +ojt+Nx4Vr6KMaNw1zjihVUH8pe5FDP+fbDVWjj7BAv/dcfHMQG0XSWjMXVv5Vfxtu/f MG0PntjAYJvFBVFZk8LneLNgpLQUzYxCdIgD4KuigtuYdSSrIPRUqOy0eWNVXVGqt+/7 +b6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EX67p13z8d9r6utOQ3HspL4ZQU3w0yz+MFaOvH14Afg=; b=nn3jRhClAn2p3i0F+wiO/N7w9gMZ62cz2I7iXY6XHjhAskT8dBld1Ol3pZ3FJtnS3n OBDc6LgjDQjls6Ex4GBNPbv0XFw3CVnvRMDorDQJITkOPajkaSBzgra0UXUuFkHM7TNX 5punvLRraFj64pMUL7dOZtsSmNElqrWr5x2uD8hXlXy7++tY2woFTUK6eU1x74RO4wBA ES3NP6352ipTPx+D6+Xgx0M211PCm1t1th5ic3aWCpZZmZ+b1f6rsFHhtsev04jKCHoA rWRazFN6iW5vV3We4Z0CLDrMY8FmV9WP+n1RPqQYoKI3fuDmxD1XixZXkCBluytsXjr8 A7zA== X-Gm-Message-State: ANoB5pmroXqb2/zcFv3so6YYBt1lB/BRC7vRPkO5SMugq/rmF1IobPxN 9XM3oDiynYeH4HiYMBgeIcdY3w== X-Received: by 2002:a05:6512:32cf:b0:4af:e82f:6013 with SMTP id f15-20020a05651232cf00b004afe82f6013mr17826256lfg.36.1669814497889; Wed, 30 Nov 2022 05:21:37 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id b8-20020a05651c032800b002770e6c620bsm125999ljp.106.2022.11.30.05.21.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Nov 2022 05:21:37 -0800 (PST) Message-ID: <6de013d9-f2ab-a2d8-1022-2474c037c737@linaro.org> Date: Wed, 30 Nov 2022 14:21:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 6/6] riscv: dts: starfive: Add crypto and DMA node for VisionFive 2 Content-Language: en-US To: Jia Jie Ho , Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20221130055214.2416888-1-jiajie.ho@starfivetech.com> <20221130055214.2416888-7-jiajie.ho@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20221130055214.2416888-7-jiajie.ho@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 30/11/2022 06:52, Jia Jie Ho wrote: > Adding StarFive crypto IP and DMA controller node > to VisionFive 2 SoC. > > Signed-off-by: Jia Jie Ho > Signed-off-by: Huan Feng > --- > .../jh7110-starfive-visionfive-v2.dts | 8 +++++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 36 +++++++++++++++++++ > 2 files changed, 44 insertions(+) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-v2.dts b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-v2.dts > index 450e920236a5..da2aa4d597f3 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-v2.dts > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-v2.dts > @@ -115,3 +115,11 @@ &tdm_ext { > &mclk_ext { > clock-frequency = <49152000>; > }; > + > +&sec_dma { > + status = "okay"; > +}; > + > +&crypto { > + status = "okay"; > +}; > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > index 4ac159d79d66..745a5650882c 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > @@ -455,5 +455,41 @@ uart5: serial@12020000 { > reg-shift = <2>; > status = "disabled"; > }; > + > + sec_dma: sec_dma@16008000 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation No underscores in node names. Does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Best regards, Krzysztof