Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2278530pxp; Mon, 21 Mar 2022 15:42:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvBQ4ALkWWkyFuNM/wc9vV/89TmTFeWSzFzI01otJga7UR3Vy8ek3AZDqnfDYElSPfV+PN X-Received: by 2002:a17:90b:1811:b0:1c7:46bf:ba28 with SMTP id lw17-20020a17090b181100b001c746bfba28mr1491836pjb.42.1647902556400; Mon, 21 Mar 2022 15:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647902556; cv=none; d=google.com; s=arc-20160816; b=jp7noireIZ/mpRIhpQcVZctRva+9hyRXYwd5kkKnYAgazXnnFMJoGrk+LlpEwwoQ3W QNkFsqbU4VTiV8tXtk6827aHk+9KebEIqxL6nDQjMSVhTDDX6bV6cqqnCoqEA1Xe5Pag pnskc6L6dKianCdTRid0idC3HMEvT0ze6y0N9qKu/c3G0CsTZh6zZzueiyC+l81hAcx2 xDw5aPIz1/7pPfnEuDo2v0cf7/OR66scJo7uF4STnl6mc8tuUa2OGat0eaEqL7jYe1/k JaX0/0ayMK0Bk6KKeJMQPPFwBZdZPv2U41kyGjnlC9xBih+u3Ro3J8cqY94rxtbKRMAn C3KA== 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:cc:to:from :dkim-signature; bh=KKQIZ8jXpBKaieCflF0TRZBAI0CizxmrIeEedyXM13o=; b=PAd2TvQgw5tD2gzVKX4UNWjNqwDl0SGhIubc6K40bCgm5BMJHHURpLF8s54OXhuqQM diZW2QLBfY1glRGCUZOdr34QBrJ90DrqxjDHMkc523gYC69fno7CVLGOrf9+bO15sxX5 +M86sFknneaDs85nllVHxBUuVuzXVDi4uLf5WEHYAbpZiJauWCBe0NOVof5eFKaUlu4g 332X07n3bL9QCeBz6kCh2rgONFAzgMsihTwSWoiNVi7dwPvDmz0osEUiNhYs1rYmFdvl twvof3Jt9ArRIDIGzqBwJW+v/PjwfmCtptL8Wzrlb35RVWFKN2UH7yaqcoNfW6yISUo6 +juw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=xwGWaPIx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c6-20020a170902c1c600b00153b2d1640fsi10942847plc.23.2022.03.21.15.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:42:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=xwGWaPIx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C5F2A3E9B97; Mon, 21 Mar 2022 14:55:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353098AbiCUULQ (ORCPT + 99 others); Mon, 21 Mar 2022 16:11:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353001AbiCUUJ6 (ORCPT ); Mon, 21 Mar 2022 16:09:58 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D7471834E1 for ; Mon, 21 Mar 2022 13:08:08 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id h23so21608638wrb.8 for ; Mon, 21 Mar 2022 13:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KKQIZ8jXpBKaieCflF0TRZBAI0CizxmrIeEedyXM13o=; b=xwGWaPIxsJtw1F30UvWCKmUgnDyZOwOcJWbagXXvLSDhkHTI0ZRhzVADNnTlEyOoB0 lwAXUoXQuz9yAaR/zpIVOVLLjkk+Zh/JkM85bx86GufMvQxoRpLXWMzCisU5ssO/i0El n0t2KyNfF91/u3jTzbfGpjjsAdtoN8eqvIL/YQNlQhfQ+SBU+g+GQBkMs6JdKcWXzsAX zXh+wqDoB+BV8aySN6zfDLPdnI/O/UA9Mu+AtefcqeIrbBRATcaQdZ1GvhCgYBV4vZ57 pF2RezgivY0en7SmC6nV6Cy5xvXn63ExrUPdada1ZbiyeFgAvkQhuCuU8G9AhIziGYB7 yZ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KKQIZ8jXpBKaieCflF0TRZBAI0CizxmrIeEedyXM13o=; b=w24eihn2fr4C6HjMK9629nhIt/34nQrPbae2nJrsS4YNGpxdi/MvYcO+XfBTjLdW5g 6tGXaSojj2sutMe3Ki+oZphX+npgbRAJFIyijvbTnMq4DO2WNBEeHYdd8+sd3JP9+nRr F4xgLYIP7NG2b62s1j6iJTqM/LGGjmGnnl8F6S5uz8Vt9x5lSjF6Fc81lIDd5t7yshcn I6iL7jVdlWjfaoMWXa/ylen65fLYvs+U6CEcdYvLWJIU6d9eBEv7rDNxiFPXImrimv28 CMnpx/uOfhPjGJOtc5rvvggR5hcJT7Ex4kqHQiohRSOeuHzpJs3+lZtZAOGBHhXedw2u x7Ig== X-Gm-Message-State: AOAM530s4EL5LYtRCI0zob2FFrCS0+LkP71j+2xZuvbFDWeE+QWVGYGj r4Tbf0JxY+fwQLguAPlJ7KuvEg== X-Received: by 2002:a5d:47cc:0:b0:204:1c9d:2157 with SMTP id o12-20020a5d47cc000000b002041c9d2157mr2642754wrc.294.1647893286777; Mon, 21 Mar 2022 13:08:06 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id i14-20020a0560001ace00b00203da1fa749sm24426988wry.72.2022.03.21.13.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 13:08:06 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, herbert@gondor.apana.org.au, krzk+dt@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Corentin Labbe Subject: [PATCH v3 22/26] crypto: rockchip: add support for rk3328 Date: Mon, 21 Mar 2022 20:07:35 +0000 Message-Id: <20220321200739.3572792-23-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321200739.3572792-1-clabbe@baylibre.com> References: <20220321200739.3572792-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org Add compatible and variant for rk3328. Signed-off-by: Corentin Labbe --- drivers/crypto/rockchip/rk3288_crypto.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/crypto/rockchip/rk3288_crypto.c b/drivers/crypto/rockchip/rk3288_crypto.c index 5f1422094a7f..bb1adbe947f9 100644 --- a/drivers/crypto/rockchip/rk3288_crypto.c +++ b/drivers/crypto/rockchip/rk3288_crypto.c @@ -19,6 +19,10 @@ #include #include +static const struct rk_variant rk3328_variant = { + .num_instance = 1, +}; + static const struct rk_variant rk3288_variant = { .num_instance = 1 }; @@ -215,6 +219,9 @@ static const struct of_device_id crypto_of_id_table[] = { { .compatible = "rockchip,rk3288-crypto", .data = &rk3288_variant, }, + { .compatible = "rockchip,rk3328-crypto", + .data = &rk3328_variant, + }, { .compatible = "rockchip,rk3399-crypto", .data = &rk3399_variant, }, -- 2.34.1