From patchwork Fri May 19 21:48:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1551490vqo; Fri, 19 May 2023 15:02:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ41MJiYfIHjfUi4pfpoZR6c4TWIHmFyT0Y/ewMF1RXz0B4B/IOecGLKMe41t7/ilI0EyNBX X-Received: by 2002:a17:902:dace:b0:1ae:43a8:2759 with SMTP id q14-20020a170902dace00b001ae43a82759mr3877322plx.58.1684533774860; Fri, 19 May 2023 15:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533774; cv=none; d=google.com; s=arc-20160816; b=YZa98CT5S8n8PJqORG/6rjPwsMvrfYm2JIuxnEenaDrfkDp3b2d2U4X1XndWJOghli o5ZCETbH7Hfy7E+uyZi/wdSoox3vRI+KgOO7185bfEVWWi670auqVbScnXyFS6sQclLV jmCpGSkyVaCa+0DXPiolQe7z9zsoQPDAscIl6v22ul4TtWwD02oB+flgQ/Ai0ArulHHp etSfRosGo1peaKjLMW1igXdYO5kjCP/wCAzgpbJASOBjDATH7pG2apc0ICrtr/pg49H6 HfaZVWLqHtLZH6nuAXGPt8t+x5Ibq5iSFIPPDGvKkrInutlDSQ6Q+6En+65zlEvJB6wU oGEQ== 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=S/ZElhN4iFg4W9kygZTEh5N+xw64JKQxyaJnQubAeqG6Ruc15aLBEvsRAp1dfnuAs4 BS6+GpT+3/dRn06lCstLSS3NvN04oIeZE0HeV0lRV/82hLHtFwEYCwuUOZInTi0DUemN BxMas64ccDQVuLiO5VYf0mb0ntQqbviyMX5KHYfJoPhGPhHnE9Z1KwgPQ3uXRNx9naWs aS/s3OE4TfQw7uKyPVCiVo/BQWHTF8By2HrXUnW7H29/H169MP88SOQ4uHxyIwsdbxEM UE1zcbYI6+1IjQGgI88/rQAzFvjyWEFfkjBgG2/7Ut31XEtTL/TN6nEphy+DKxUTVSUC yOww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pBd3boQL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a170902ea8200b001ae0691dfdbsi194774plb.158.2023.05.19.15.02.42; Fri, 19 May 2023 15:02:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=pBd3boQL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229952AbjESVst (ORCPT + 99 others); Fri, 19 May 2023 17:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbjESVsm (ORCPT ); Fri, 19 May 2023 17:48:42 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B6641BC for ; Fri, 19 May 2023 14:48:38 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-64d426e63baso449316b3a.0 for ; Fri, 19 May 2023 14:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532918; x=1687124918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=pBd3boQLdDsk/iHX9oocj9sS4niYD+XavQIXBumLygIMmhc7YIwiabWjY/EEoChLus eMqXOEJJd2JZIJ52NhSF9LK0lIPizzpTwTHAH9477UEY46kqCufDHzK+g+xh9o9Q6qn9 SNsJuiF/pTcpfxeFlZvuv1ycupJ4WaFQILj97fx+CO5hsHytVru+1RI3IqjVkHFyH/TG BLIztj3e6muB64hkNgdIj8yLJ6j44WH0zh1wC6lmDJmeCfWFFVKYsLJKn9/w+ZIvSQ7+ 0fg1H7g/9HiyKN5QmyuQGaPC17YriWCQ6qJsUOZkqUqC6Q8AJL26BkBR2tttwmIp7bSC fvKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532918; x=1687124918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=BT76Q36p2sU2Y4TQjlHNPl6BFMLCGL/6A8+Lf4c8MEWavat46NOcey/YSZ5mxCyzq9 qFtxUWa7+Jz2eRrcKIv2xtEbcBGPGLobt5NTzOHH7gJsN5mIZaaBKl/E92N/u9C+pg7f 9QNyrp48n4o/S+0aOoC3KkJn91X3GRvgmurJE/Gftp84L2y+tWlevukGWSpaxhrU2d2R WOFz39Hj6dSeCtWmhYqSMADq6YbbbYH5QkzEAcQZfYOckbazP9R+NSN7iaIdTXohsRoj +oz59kqD9NFOrwkgOvDRD54LQPi5qBlyP80MmrY9ayXCG3xDH60yTISO8I0DPFyPlxwr P7+g== X-Gm-Message-State: AC+VfDyVFuHZC9JN46aCyUDgwmwiBjdzX4LVTT320nBaO7IOugr1q+gI q3OgMIczsyCDVvDQm9pSaQk6/g== X-Received: by 2002:a05:6a00:842:b0:647:4dee:62a4 with SMTP id q2-20020a056a00084200b006474dee62a4mr5070407pfk.34.1684532917890; Fri, 19 May 2023 14:48:37 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:48:37 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Rob Herring , Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Sat, 20 May 2023 03:18:03 +0530 Message-Id: <20230519214813.2593271-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361687061892873?= X-GMAIL-MSGID: =?utf-8?q?1766361687061892873?= Add new compatible for BAM DMA engine version v1.7.4 which is found on Qualcomm SM6115 and QCM2290 SoCs. Since its very similar to v1.7.0 used on SM8150 like SoCs, mark the comptible scheme accordingly. While at it, also update qcom,bam-dma bindings to add comments which describe the BAM DMA versions used in SM8150 and SM8250 SoCs. This provides an easy reference for identifying the actual BAM DMA version available on Qualcomm SoCs. Acked-by: Rob Herring Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index f1ddcf672261..c663b6102f50 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -15,13 +15,19 @@ allOf: properties: compatible: - enum: - # APQ8064, IPQ8064 and MSM8960 - - qcom,bam-v1.3.0 - # MSM8974, APQ8074 and APQ8084 - - qcom,bam-v1.4.0 - # MSM8916 and SDM845 - - qcom,bam-v1.7.0 + oneOf: + - enum: + # APQ8064, IPQ8064 and MSM8960 + - qcom,bam-v1.3.0 + # MSM8974, APQ8074 and APQ8084 + - qcom,bam-v1.4.0 + # MSM8916, SDM630 + - qcom,bam-v1.7.0 + - items: + - enum: + # SDM845, SM6115, SM8150, SM8250 and QCM2290 + - qcom,bam-v1.7.4 + - const: qcom,bam-v1.7.0 clocks: maxItems: 1 From patchwork Fri May 19 21:48:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96662 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1552060vqo; Fri, 19 May 2023 15:03:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xUb33apOI9El/SG3XA7JB4z5msy3wjdDfZx5XIJWcVOZeLR4EbbLdDXglGR9s5O2hufeH X-Received: by 2002:a05:6a21:985:b0:106:57b9:6da1 with SMTP id li5-20020a056a21098500b0010657b96da1mr2738812pzb.20.1684533827158; Fri, 19 May 2023 15:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533827; cv=none; d=google.com; s=arc-20160816; b=HvPYhmR83z0OUZj2SNAwrOKoZtt+nMDmCROp0fzID2HN6/q1q+ZUAk2a/W42eMfbNL o+lrnlWK56Boaz+EKrzT5nKGNg/7t71F3lVrcdXqVEw0PKWIPrNfxfKnPKpFWRE/MZ3r NleC5eQ0hgNSATpRESy3xNVdVmQCP62/I48fsQlFJ5e8fF5+rd9GJ/w/rhosYCGUKHoT 5pWLDu0c89S2MwlWqyhzGj1+GUyPi6jTlXnnihf/0NTs7SReYHV+ZPWexhXX/C8pfIBS r3lCLWXNC2K7I4HledtlTgmpjU+9hs1nSpmaIWbFWM6QuCeHAbN945Ycw0wLcJG/mzm5 jt7w== 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=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=Stbly64iqoSj/6sxmopdHtx2YiZ3UZ1BFLDqCW6t/HUjHS/lLN7JJ3Ta044Cn70Dpg BreiG9NKpxdkMNZB+RrHrOlMdW08EMS7TwYoFZiAFWjwpzoBzXKHHqNT6joFDk6hYyco 5QmH618Dl6Y/wLf7iABftiX6QaEsJpPXtQ1LHstgWDr5lr9A8QVZRoatsOjbf0NmpQ19 dvkQ66h7K2pAYsHWe+FWJRg2j50vkJo6u1IHXdVbO7EyWf2ZZ9UAGYN+3Pu9J/Cxw/Ir nlE+9YEhRkhy4xIpMwPspjovAuCY0+YY/rJt82C0NH2GrW8MMVam3EuI376G+VjO3noD /4Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ColBuOzX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020a639558000000b005306fa3aed5si296794pgn.398.2023.05.19.15.03.34; Fri, 19 May 2023 15:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=ColBuOzX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230172AbjESVsw (ORCPT + 99 others); Fri, 19 May 2023 17:48:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230148AbjESVsq (ORCPT ); Fri, 19 May 2023 17:48:46 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49A321B7 for ; Fri, 19 May 2023 14:48:44 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64d30ab1f89so933123b3a.3 for ; Fri, 19 May 2023 14:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532924; x=1687124924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=ColBuOzXXjCFMQOjtPodYD3uMQb4rjLPliuKPNMFxkYd6hOM8gmj/IeuhPJ1qz1CM/ boorjeMp1fdHD/EXR+4jz9S+6sRQ8ESfS6CGwHBPCcB9ii5A0R/Zwtt5xSD/q4i8jCWg lJjOeJ+g6hPitj9KHtfagBPsDMHeXyFpYS1FXJV5soy4RPYU5lt/POhvdnfCd5jUtkR2 7wxJlyy1itOV0JwbmvGHfeuIAN8teTep2iY5r7AkVh24Z3KwpM3xQo+edQHohnUMIdhC EiMYxCSewqZos4sUX75xKzYydGBytRqLbmwN8gw5sUuepkb+RIVLDPIMzaGzRdPzAbpa SJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532924; x=1687124924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=JFsi0lH/dZ4YhPJUpRgQjlZ538J31zw7WpvL4QsUzOghi04/A5GAkRYizDnM4dMoAE XIA1jjGSPTUhht23PlTaylItuzMrDLsAS3k4PAYzyZOReedyDiMEhzcaW7ousFIbsALl rddxUtVHdYquqpvpTjnmcjZHt504AHsLJSqVVN1kMEMVA7zkTCcb8sl93MZMox5EbraS UvMQKQsjxSm/bDJkl0ErTpuYXRlU6q4aY04kTWoCBEmivN4sd3Fg94zoKchSzi7UlYq9 4lUetjpeZJNvAn5k1EFIoS7VJFEuTS5clTw1FyIw6/4CK0yoBOEd0tnURbSFOr5vagJL fB6Q== X-Gm-Message-State: AC+VfDzWe9KYo8HF9hhWfrrtV2pvhVTJW9rHv5Ug0OhtOKI96W71NLvL ltPNX8q0H8x2QJAekc6AAHOdzw== X-Received: by 2002:a05:6a00:1389:b0:64c:9b56:6215 with SMTP id t9-20020a056a00138900b0064c9b566215mr5339887pfg.25.1684532923753; Fri, 19 May 2023 14:48:43 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:48:43 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 02/11] dt-bindings: dma: Increase iommu maxItems for BAM DMA Date: Sat, 20 May 2023 03:18:04 +0530 Message-Id: <20230519214813.2593271-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361742363154134?= X-GMAIL-MSGID: =?utf-8?q?1766361742363154134?= Since SM8450 BAM DMA engine supports five iommu entries, increase the maxItems in the iommu property section, without which 'dtbs_check' reports the following error: arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx224.dtb: dma-controller@1dc4000: iommus: is too long Acked-by: Krzysztof Kozlowski Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index c663b6102f50..5636d38f712a 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -44,7 +44,7 @@ properties: iommus: minItems: 1 - maxItems: 4 + maxItems: 5 num-channels: $ref: /schemas/types.yaml#/definitions/uint32 From patchwork Fri May 19 21:48:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96660 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1551667vqo; Fri, 19 May 2023 15:03:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XUJJTxlWxZCK11iJuTERwWHLbHvB0SpdyaRGJL63aW1ODvgtLqX1ndOgJT+9KwKFncs+J X-Received: by 2002:a05:6a20:a12a:b0:ff:f3d9:1ada with SMTP id q42-20020a056a20a12a00b000fff3d91adamr3150162pzk.60.1684533791109; Fri, 19 May 2023 15:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533791; cv=none; d=google.com; s=arc-20160816; b=yNQvbR7B2+/4dz8v86TZjxu5dKMd32Ru8/gjeKfu4O2OcbahGGr5TRvXWr1aoAaNkk Hx54x0dB5GEuZsjcNwtKBSbowlwKWdBSJMWiuvIWUirvZDtqDgWmBPhGORrx9A6csWOM jGwzMmeDx0DNtWRJNOB+80yS4+OqwqGSAteR9ps38j+/0PtvhyRboGmMAS3nqMn1BlK5 2VKtOHcISghz9J2P7DIIDls+dgH2Fx3BepqzsXVYLi7Jfge4o42ckMMIxY0daDZF4s/0 uQp8IgmfGGWrfU1sFuY/Qnk/K5W/IRg1bF4MTyy2qU/Nyw/Y/4pB4dGOCq4WmLDmhaCd OMsw== 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=VRz4nt24YoTgBoEZH5nQGl99Iug5W32/X3YqAbF3Tjg=; b=uzR5JWOHK6azrKsy4m1KROq0DUtjyWkTdU6wz85eLI9E+tqTNsRdnen6JP8lZe167y u4NbcRCCiL8vG4bVs2vNufMZvzxtuLeDjInhyMwv1sjljG75PyPKrl5mpm4Xg/SGVISI zwC/q6CIuMMiqQv8uKULJJgaU+ViwDCSv6qDC7dU035AUFgCFN+Lp3rV11u8zQQ8JJZe GkJ6JMG8DiNHk1bXKtv21O5oniDP8+a2qhA/5vLqFgeJ0p38n4R3JO8arW5uzXECWls/ TtwyEOJqtWT4IEnfNKClRx+94R41Vz+ebLdexIDg8HSmyqZt/Pv+s2gm1TXk/Vbah6Zz DS6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M5qZR4JM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a056a0000c500b0063b645b66f1si276345pfj.193.2023.05.19.15.02.58; Fri, 19 May 2023 15:03:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=M5qZR4JM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229965AbjESVtC (ORCPT + 99 others); Fri, 19 May 2023 17:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjESVsv (ORCPT ); Fri, 19 May 2023 17:48:51 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 057B71B5 for ; Fri, 19 May 2023 14:48:50 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-64d3491609fso802374b3a.3 for ; Fri, 19 May 2023 14:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532929; x=1687124929; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VRz4nt24YoTgBoEZH5nQGl99Iug5W32/X3YqAbF3Tjg=; b=M5qZR4JM0bZqUzJQPC+1FWw1qHJWVn6H8xdlxkrYVAAswm8AYAsYLNXvOTLAnu3dh7 vFaaM/eb3pPNBfOi4OT6yuBXUgZGFkZf6Z1l9Q6pbpInOAaJHH0QKBlReHQXhPVUNvpb SkBIGtZIbrAM7Fyyar2ZytHkCDw/XjoDRG7lChn3oXvDpWSIq323IUH72Ry2TQfRT5Hf YsBf5Ww74CrZKHcmwzYjgJ9e8zgVCX0hY660ETc1eDD1FWJO8jBquOyNw/83Z90tjJQ1 AlVoEb/OCJYmwjf6VC2i4fegsdbojsV8sh7mqPfwl+Co59j0N7BPVnLNKqDG/bOr27lk hJDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532929; x=1687124929; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VRz4nt24YoTgBoEZH5nQGl99Iug5W32/X3YqAbF3Tjg=; b=FutHUVq/tm0srXv86RhsOfNQMGpuStwYOS0846lgSfebm+ZSousWFV8ubjnXtORgmE 5b2sjP+AGydigQO6kjCPHc4OlhxjCSaYUfKwRcS9zfLRh5I55XTfIA3rgiX7pdd+heIO ZOQdbL4RGBJrnQU6Qs6OVB+hBwkOiHNiFujkOSduHNgq6YeMGdNsdnjs7zApQ/fglMKO z6Qa7ViglcHixQQGWzuSqlx25WHNT3VGZFejfEn6qx28eC93TaaP8DA7CwTi38nfaZOe rsNc99JsBDQOnzQJDwj3AWXv2OYMV/IKdoPfQPzaOxNUVDIDWl1VsqcCfNc0BCEzqI+L gywQ== X-Gm-Message-State: AC+VfDw5Q7iulIAp1Wdwh64pTeKin7Z/2TnAGuxvqPzBy80/KRug9mqH l0yRFzsMzq58F7NCjmkLEUxVFw== X-Received: by 2002:a05:6a00:14c4:b0:63b:5496:7af5 with SMTP id w4-20020a056a0014c400b0063b54967af5mr4749990pfu.1.1684532929470; Fri, 19 May 2023 14:48:49 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:48:49 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 03/11] arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string Date: Sat, 20 May 2023 03:18:05 +0530 Message-Id: <20230519214813.2593271-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361704555455728?= X-GMAIL-MSGID: =?utf-8?q?1766361704555455728?= As per documentation, Qualcomm SM8550 SoC supports BAM DMA engine v1.7.4, so use the correct compatible strings. Reviewed-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 6e9bad8f6f33..e477ea391e93 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1839,7 +1839,7 @@ pcie1_phy: phy@1c0e000 { }; cryptobam: dma-controller@1dc4000 { - compatible = "qcom,bam-v1.7.0"; + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; reg = <0x0 0x01dc4000 0x0 0x28000>; interrupts = ; #dma-cells = <1>; From patchwork Fri May 19 21:48:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96656 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1550068vqo; Fri, 19 May 2023 15:01:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UUtMFJN9SxuC5Rw3tAzr+rjmki12vaPFnFGU2lhXTTvLGxt0wLTp5ktv7+dVuc3uCQdn2 X-Received: by 2002:a05:6a20:1585:b0:104:50ce:297d with SMTP id h5-20020a056a20158500b0010450ce297dmr4136214pzj.40.1684533673185; Fri, 19 May 2023 15:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533673; cv=none; d=google.com; s=arc-20160816; b=j/EMjvrmvamf98OQuNtnHcoFHLUOfgCuXJ/+Oy6yk2CqqM6lABqnaFmFqb8p5pDQHe lN5EN13BLrFW4SAS03XoMVGE7XfmxemOING6/y5PnFeeqnWcoMNPc7/c1VJceZiOabMZ /xbd9/33tmsU7lvBRPzQouRnJXV4WOK4cJKrz6YF0jBnvSVMZOz4EFK6POR5Hfhgr18d 1Z13zJTZhZeFxlhziNhZIh9cpZc1RXeAVS9+HrO2XURCN2r+qK+YyjwnvoaJdlVLRXkL aq2nBcUwaiOaVldX9lSxS5PpiLqFufxCyLaMVyhvqoO1oyEPKNFHQic7HcVXWnpdrksu TPZQ== 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=WZX6LVgOMZu0ArktFgLVf83JETk2AvPW+GkyQpaVw8k=; b=b2sGGQ5OPdRLbW7ogGpifdNbYAhZRphSRseerb7KPD7EcoJgriwtacMToS6N8xWKau qBjlKPQ9O/22q5j0BUXMKmpF01Go01fiD7/NtSwKcBHA6DBiTilumHRi9oAFpi+S7rTB iCiWBsA38LdOSjn0gc8dvuFdK51gfc6gSIRhiKV5n38282rS2HzMSo9PZilUxgBXKoGi kJCBXjevlwJ1edAm+BppTrlOctyjL3MJmIxCHHHXO4bNhj/gU6kimvqEP5BhfSnzc3Va FuWO+hG/K6Gu1C5pbBX6cxJnXUEjONd4N1HO9Iqr2K5W3L0NutXN65hqdRq7wB6W/2ge wV6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rPKR9Rx3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs65-20020a632844000000b0051fb9c77447si276062pgb.477.2023.05.19.15.01.01; Fri, 19 May 2023 15:01:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=rPKR9Rx3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231735AbjESVtZ (ORCPT + 99 others); Fri, 19 May 2023 17:49:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjESVtE (ORCPT ); Fri, 19 May 2023 17:49:04 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D108210D2 for ; Fri, 19 May 2023 14:48:55 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-64d3fdcadb8so518597b3a.3 for ; Fri, 19 May 2023 14:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532935; x=1687124935; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WZX6LVgOMZu0ArktFgLVf83JETk2AvPW+GkyQpaVw8k=; b=rPKR9Rx3JRg/0vvHaNXGmGLwQD5W3k6kCmmuzWJKWlIkRFaalkFvu9V/4ypfPte2ui VwaCd/TcG4vjvWr+Ff+2/Qe9MVbpkAfwRhZCCPzgWumrT3vAv37CxHPMb7RvJVlBioui g1AZip+tAFNcpVI91dwcEgyEIE27NTX9id/ADcBh5ya+srJ8WO5VTHDr+d52YGwpG1jo E844cPkxj+zSzSbAw2k9FZYSjHr+jBHuDf0xKOewl97kAfwm4wePEXxhgM8WJem/gcmr j3RO8hLWK9EXTljjVFwxQcT60xbOzK4z+9RYO23Pd9kuFur+CgPCCOt0203JSVNUCnnx pxNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532935; x=1687124935; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WZX6LVgOMZu0ArktFgLVf83JETk2AvPW+GkyQpaVw8k=; b=D3Br9MUUul6++pGXv0mpQjtw+87RruLClPv0HfVxIsGRN199BbTL+jokJDI3nzZKYn hHP0fpcQz5zPSjBv39VIoAxnvdD+K2AoFNwFxukIG1yI1NrnUGc9NAr9Yv/Vh/aRsF/z NI4NCBFoI8akBJJYknJmemfmX7unsOeVF9LFF7ruYwTlHHyS4VJ/RXCVOGxMmmx6RjTW 5sIvaLQiBNcxjith7mmdrfOEuVFZbz298tYM4sb/CBLzNQ/i+Er+3JzAlmBXRVoXH4jV q4JPb8T+0+/lWPab5gU1oHSEoluBRCJ7DHEW6jPnnOOah+RxEqWHbLp1MLK99MfSI5LC EyNA== X-Gm-Message-State: AC+VfDyeydsn830dZCnrM0vzO0TTQLwh/AKQ+HnzgRnabBZCCWRX01Ql oZp/zEO2zj1OyGD3OgeU0lOp0Q== X-Received: by 2002:a05:6a00:1389:b0:643:b27f:6c43 with SMTP id t9-20020a056a00138900b00643b27f6c43mr5326688pfg.27.1684532935042; Fri, 19 May 2023 14:48:55 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:48:54 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 04/11] arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string Date: Sat, 20 May 2023 03:18:06 +0530 Message-Id: <20230519214813.2593271-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361581177712041?= X-GMAIL-MSGID: =?utf-8?q?1766361581177712041?= As per documentation, Qualcomm SDM845 SoC supports SLIMBAM DMA engine v1.7.4, so use the correct compatible strings. Reviewed-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 90424442bb4a..4d768e09d62d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5212,7 +5212,7 @@ msi-controller@17a40000 { }; slimbam: dma-controller@17184000 { - compatible = "qcom,bam-v1.7.0"; + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; qcom,controlled-remotely; reg = <0 0x17184000 0 0x2a000>; num-channels = <31>; From patchwork Fri May 19 21:48:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96664 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1552233vqo; Fri, 19 May 2023 15:03:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OV3bsWm7OKiM9cnItiey0sEYaOqJZihzbY1wQKm60SGcJ7Da3OZS1zbLQUbWrT3XGSFbL X-Received: by 2002:a17:903:26d3:b0:1ac:6e1f:d19c with SMTP id jg19-20020a17090326d300b001ac6e1fd19cmr3727643plb.41.1684533838876; Fri, 19 May 2023 15:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533838; cv=none; d=google.com; s=arc-20160816; b=Qd+0T2lkabbHRe9/V3k3F8MWg6HouXNAAqYJ7Ei0dOd8oOQNeUJHP5T2smi5cJn+Zt WE7tnRcHawBxmHxLyvaL/ydXPJ3+V/Cnanp8u74+wnWpQ8WqC3jIfDVBlRAYeeNba7a1 16vUslxNKbBjGNqwDzMAlAuZJM8KIhFrmv+1Vw49YzUqRAUNh3dFBrSnqEX0p3Mw5xap ojhyA/zzvdUbF2o9WP9tyt4GOr3DKq39D9t28lA/kV7fYZzYBFz8AciJpdsL/OQclVa4 ZCXQZuolJD3lw+sRlh+8a9TxPl8gzXceeNf1B6t/u4wyNpra7Cxb3Q+2W5G+QUP5/4YY mrrA== 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=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=K+QCNZj2UngQzSL78ZGGAbqlc8MKTFH/8p/sb0W+768y52SGXAt6EMmvgpsYeNrOPl K/3DKSzbqiJ7Y5YnBFDCQ6gXlwxOO0fmvKy64M4h1bGDssyOM3eBr+BEeaI5yBnl7ZRJ 1lR3rar5Y+2xt9HR/ekLLnKESBHeeMLq33zrYMLPwo8EBFR7oWS/VsFl3aHcn2moM5Dq Pzw55RCgmDXuIG0J3ze1zUWgyhUK+rez+V8P4qNvqwM969a7NUmL9YMGq4qmge2C2prP BFUCS/U0OPsEvHEJ9lBzLO0FVkKe62SfXITBSfzHT9TFbM3FfYo6DXB3hZLtNDsRTbOk /pmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jjmhfnpP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a170903124500b001aafc97feb0si200218plh.174.2023.05.19.15.03.46; Fri, 19 May 2023 15:03:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=jjmhfnpP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231823AbjESVti (ORCPT + 99 others); Fri, 19 May 2023 17:49:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjESVtW (ORCPT ); Fri, 19 May 2023 17:49:22 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB51B1723 for ; Fri, 19 May 2023 14:49:03 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-64d2a613ec4so1430874b3a.1 for ; Fri, 19 May 2023 14:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532941; x=1687124941; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=jjmhfnpPE7iSJV/da62eYusKheKlOaGc+S/Cij0YHoq3ZjvflgjFoPddH7tIdzns4w 9dT5XGqv7+5ScssjXQQrC1UV7KvX9fwr9G027fWtCtGmu7vwWj5wfxtrSvkGNP+3Qsbq yHJzQXvjJx7CUwXrM9EIZZnv2WzSzaljNfgn9sntRPE5k/ucQBiI7fahD/NRmYMzLEpN YYYugmcanF5UpbVajMztA9+uQEyWPmOlOEeslBHlFX1FTxMzDpjiUIzJo4MBUXCLqwU1 bHyP8ZBI92FZtSHfVhcpO8L5rpV0TU8XzGnNARgNVgd2fw8H3clAI7pcHiwzWjXiwCT2 q07w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532941; x=1687124941; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=RW6h8ntmy/omuRhYKwB73shXrMAQ5Y6+eCF6VapbX1KxghHx08i5E+N+WysGObRsxH D8yqk2tcuMmb0ipeceootNCUaL4BfeEUPe2MonQ6L9cECrxyyyCu75oKy8YZkXR5IM4z edOIMV5cfK7ZEaHLnyDzGumP3XUaR1wTMm6QsRxzXyI0t6kX7WjiuunQPj9oB0bhFb3D atFzDFay2XJPf3jINm/zN9QYI5DnBlCgnRkJqwLCd4P4bLtBlgoSvIlcVN5fUXQm24xu vMuuBN5aVPMf63xrdgO581WnrWL6wjYnHK9G8meQU6mdmD12kjQgdcrXBvDhWS21ODf3 g53Q== X-Gm-Message-State: AC+VfDwpUcx4JMOt3IcxELLOrRUfnvMDz1m+hvqw57FdPXU8MZ63RHR/ 3LOZs6phgKTcmYKRgL8TBSHwcw== X-Received: by 2002:a05:6a20:4ba5:b0:101:cf58:e666 with SMTP id fu37-20020a056a204ba500b00101cf58e666mr2682367pzb.56.1684532941031; Fri, 19 May 2023 14:49:01 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:00 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Rob Herring , Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 05/11] dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs Date: Sat, 20 May 2023 03:18:07 +0530 Message-Id: <20230519214813.2593271-6-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361754839810059?= X-GMAIL-MSGID: =?utf-8?q?1766361754839810059?= Currently the compatible list available in 'qce' dt-bindings does not support SM8150 and IPQ4019 SoCs directly which may lead to potential 'dtbs_check' error(s). Fix the same. Fixes: 00f3bc2db351 ("dt-bindings: qcom-qce: Add new SoC compatible strings for Qualcomm QCE IP") Reviewed-by: Vladimir Zapolskiy Acked-by: Rob Herring Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index e375bd981300..90ddf98a6df9 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -24,6 +24,12 @@ properties: deprecated: true description: Kept only for ABI backward compatibility + - items: + - enum: + - qcom,ipq4019-qce + - qcom,sm8150-qce + - const: qcom,qce + - items: - enum: - qcom,ipq6018-qce From patchwork Fri May 19 21:48:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96657 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1551091vqo; Fri, 19 May 2023 15:02:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6uouNCLSeNhA3b9Tf7qNdfVhRtt3ZHYCxTzr4F7G7BEFN7Ckd0cRAIcwwFlGTBmlAniSOg X-Received: by 2002:a17:902:7d8d:b0:1ab:19db:f2b with SMTP id a13-20020a1709027d8d00b001ab19db0f2bmr4055883plm.36.1684533746363; Fri, 19 May 2023 15:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533746; cv=none; d=google.com; s=arc-20160816; b=jOuPR+admnYmypjseC/gk2Q4hmKFXJrmnvDWk82zWUxCjihYB+ZhSk3wSfmLN7qn2D ny3JJlkfonzKHv2SvY59r9AA4N74PRSY7gE4ynv/iS2RV974wQLac4ENAaxkWL6PtaQS hmt/P6t+LRjpQ2cNqFbF5eqCQnB0yQAvZffyNSw+/1OJNEQcLS7cJ7iLLOME69ejy0i3 dh1wsv5IEAKWj2LGXTybBp+XSP6yvoGRN4wJ08OCgbqmrIpUTWY6ic+4PcVRaFcW0DuF P63PaZ+WmrxexlZTeP3tz78amGjcCC1GTVWxzWGK8VVAOQ2r+1ybUH9OyGhlKmoBT5kE ni0g== 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=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=ul4yy9m09jkdkPv/Vol+BCuZCisEgnm50hf8JHWC/PmJzDCyZ8Nb4Qfsy6DIhRrXM6 G4yOLJIHSdJ6OMaZkA21cnjAa4MA9Iq6KZCmJBpuWV+PfEsivhUc3hrIOXxxouVnao4p fCAeCYPB68ZfwDsVH32Po7oXfLFhkAJpTq3v+Ow5Aq944JB4gqEU82fKL8yPyE2RroBF 4OuAF6RLF1fJye51M1YqujI44HhMlKnov4dNswpstmDvsiGgzZydI2SatQqt88+p4sCA Wkq5rWNqgwueuLBRVEWb4+G9+vt5waWxLOWqtIWRLlw2ea9K8zyqkDS/Di1+5Z7qqvsy eOdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xneVNezd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k136-20020a636f8e000000b0051a650b8f62si242535pgc.836.2023.05.19.15.02.10; Fri, 19 May 2023 15:02:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=xneVNezd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231774AbjESVts (ORCPT + 99 others); Fri, 19 May 2023 17:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbjESVt0 (ORCPT ); Fri, 19 May 2023 17:49:26 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89B3AE72 for ; Fri, 19 May 2023 14:49:10 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-64d41d8bc63so423485b3a.0 for ; Fri, 19 May 2023 14:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532946; x=1687124946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=xneVNezdg3Qhn1i2UsRdOk8txhSI55rOdul9umRKZJcSkSmgwvSfoNUekhfpIoAwRZ 9fmM2AlcqJub567tFBFZbwqRjYJ48FjGexMiUu+Ahu9wKJ9QoKGi4w/UEoO3i9B3h3j1 asLOwJbbeip0sRtP7OxxEPcnDoYPwILOd5oHGukLgSmeesLf5jsQ8OoXQBr4Tcy+wGEL CAVBWiGFt50gLliyfsPsN6pQAHQpdRye07mi73EHasmneZvHsLZkF+0nbbbSL9JUfUq+ eC1RCSHdUzwnDhra44eGW5i7YJXbhzIy4BqVLlJX3FwgJqW8GAD+2EGNini/oEnlhywL 7+bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532946; x=1687124946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=gQeC27dPZxZ7Y3oiG2d0/d3gqS1qDHRKu7V7EeMncKsycqTL7AMxR6S7XsDTrRRSXH 2kzLWxPmizyY+Ml1h7QeRi5Mf9+Ng1JRrWEmjaUVnvs4h/sCjaba7fpx7n9qtZ7cXzeD cou+gd3cv7RJQkriX+/UdweaunHzJOY62sN+G1B3N82ZvnnPBuwXBN2kR5a0DJ4QJePH 6BJwdrR2G4rFI/rR1yDTLK0NAlaVVbJwHUSi97RhIAbnX4+EIqpFoEIzzcHFSdcSbRvL rTyP6WpyyVQ3kKAcT2txtSQfb8UUrVfFVNczmc5w537giVhl/w0S9TWxz0D9LLKRhYoT /kWA== X-Gm-Message-State: AC+VfDxJMCh/Y+zZ89HJkq/2PtFcnP7YRyUl9BTlZ807t+SiHwxQnM2s 0rPFvFgtJZErymFdcZTT0aAFuw== X-Received: by 2002:a05:6a00:893:b0:634:7ba3:d142 with SMTP id q19-20020a056a00089300b006347ba3d142mr4831542pfj.10.1684532946605; Fri, 19 May 2023 14:49:06 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:06 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Sat, 20 May 2023 03:18:08 +0530 Message-Id: <20230519214813.2593271-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361657679747026?= X-GMAIL-MSGID: =?utf-8?q?1766361657679747026?= The core clock for the Crypto Engine block on Qualcomm SoCs SM6115 and QCM2290 are provided via the RPM block. So mark the compatibles for these SoCs to indicate that only 'core' clock is required for such SoCs. Acked-by: Krzysztof Kozlowski Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/crypto/qcom-qce.yaml | 44 +++++++++++++++---- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 90ddf98a6df9..bb828068c3b8 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -35,7 +35,9 @@ properties: - qcom,ipq6018-qce - qcom,ipq8074-qce - qcom,msm8996-qce + - qcom,qcm2290-qce - qcom,sdm845-qce + - qcom,sm6115-qce - const: qcom,ipq4019-qce - const: qcom,qce @@ -52,16 +54,12 @@ properties: maxItems: 1 clocks: - items: - - description: iface clocks register interface. - - description: bus clocks data transfer interface. - - description: core clocks rest of the crypto block. + minItems: 1 + maxItems: 3 clock-names: - items: - - const: iface - - const: bus - - const: core + minItems: 1 + maxItems: 3 iommus: minItems: 1 @@ -95,9 +93,37 @@ allOf: enum: - qcom,crypto-v5.1 - qcom,crypto-v5.4 - - qcom,ipq4019-qce + - qcom,ipq6018-qce + - qcom,ipq8074-qce + - qcom,msm8996-qce + - qcom,sdm845-qce + then: + properties: + clocks: + maxItems: 3 + clock-names: + items: + - const: iface + - const: bus + - const: core + required: + - clocks + - clock-names + - if: + properties: + compatible: + contains: + enum: + - qcom,qcm2290-qce + - qcom,sm6115-qce then: + properties: + clocks: + maxItems: 1 + clock-names: + items: + - const: core required: - clocks - clock-names From patchwork Fri May 19 21:48:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96655 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1549976vqo; Fri, 19 May 2023 15:01:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SilIwcHQ1sPash9Zqi+n8u+41JLL58ZI2GE3LucCa0hLkiDs7fVsevSYw1G7lYOIJcs6B X-Received: by 2002:a05:6a20:2445:b0:100:c4f1:72a0 with SMTP id t5-20020a056a20244500b00100c4f172a0mr3847492pzc.3.1684533666380; Fri, 19 May 2023 15:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533666; cv=none; d=google.com; s=arc-20160816; b=gkVyBiXoLOP9Iwc/Ug1+rxNEX1V4vTFHvW/pL0Lm3e3WZjkGC90d/qVT+wS6/7v2HG tHgN2M2HlOA4xE9++LLO8NT+Bw/NibMUAEH/Gcwgl50NNe6B3nd/99K+MbnOxLAGGs+i cDXP82NdnZDObSH0HvZXBlRERbe/e84FKqt5kM/ZGrFhftagfwQ9TgF9r8o4+8IfgJCd pZi/t+mOwaL2JWlGqKNxVtjw8KlclG9OcldtwhmgDxcw0c0/WLFlHl7l/G3ArQuYfwg3 LuuEUjkJqZzBRR3S3DNuVg3fo4ibCZUw0D87fpQJ8ToA9r1J1f3Alw8AUJqeYGvc3Bn0 1SkQ== 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=LH1rRa/7IYlgT4Q+3AvDcvG+o8xhzF/wa8bWuYRFB/c=; b=xqbRtjAioI57wLAmgQyZEEQYaDo7Imv596Re35PWerG9MCS5K2HF4mqqEt2QP906YW LSfCi1eH6CpIVymp3BEfhkhAMMWvfCwfn6hEnd/kwxH2arP6EJPeNEa9QkITHvpVBMmM /+RP5TxHVPobPsZk82vk7gTFIzjBYp5slVsHi/gOQZ/rT8n2K9D26uhm+qmvgLg24lKE 3/oxsjSRNEnLPxWDQ5gmDSwBc9OxEfdsQYLUEmG2BGVu39zey21AzwlbzPw3Ouvw4jfB xQ+Jbok1TuzUoIg1ta8dZhidw1HM50EBJk0xPm7TOnJ0DOjN1TxCtinIeCrHdia1Nm8o ZTPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zNKIave/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a63ae0b000000b00534792ee482si247398pgf.758.2023.05.19.15.00.53; Fri, 19 May 2023 15:01:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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="zNKIave/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231799AbjESVt7 (ORCPT + 99 others); Fri, 19 May 2023 17:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231790AbjESVtc (ORCPT ); Fri, 19 May 2023 17:49:32 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A89A1987 for ; Fri, 19 May 2023 14:49:13 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-64384c6797eso2994400b3a.2 for ; Fri, 19 May 2023 14:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532952; x=1687124952; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LH1rRa/7IYlgT4Q+3AvDcvG+o8xhzF/wa8bWuYRFB/c=; b=zNKIave/svuppU9Xc5i/CG9DwvgCn2G8/z8MI9Ur9dfm5MJEriyyl/7P0UQX91SV6I yzdYZldI4TrfqdKgS9wT2pf9FolkYeZGFlNMqegmHZfEeBUXF2w+RxWUyrdcj+vwbFP5 UNQkYcjD+IjiS/ob5dSBcl64Ga4iYHJcXHN0QJdqMBffDOxdbWSQjFsdQ5YjbjBsRuTU XZNPFFgUC6eJmt3TFCJppkZHVJL3vTMUfoJjtCcUyc/suR1icBXAjA9Lse9r2XoIvFPi Tagx1D54QMTEGGR8oPOOzPsrDYunWPVQhc6tEsL2GNQCmvJq/uTTOO2BDxFukrbe2qp8 t42Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532952; x=1687124952; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LH1rRa/7IYlgT4Q+3AvDcvG+o8xhzF/wa8bWuYRFB/c=; b=ioLLk+evy/tf3My4kvMOpoodHOAd+K0E1ml8hgcyYMVCV5hyM5LjgLSWeKjq4AIc4f giHT1k9cRR4mI7PJYtY2V5JRYvvvk657lKkoXjvuoOBiwq2YBT5jWSAVCxqe/NvIW04X O7RkIanLYHsxSUZsQ8l01gzRfF22hLeM0k36ugQH4mgCU8rokd3isN09wq/LiyB4Hrxd YX9fNu/9eBer8LLcFnKNJ3GtEIFN60+iRxoLeufqMxonEFw1UEML4EzUpLDBl+GwplS0 BeqxJ330St9YSTjaJEU1JW9j2ViYPJOXn5x7gzOdc7Yxpt9scMyxpGyZRulaTeIIssWD h3VQ== X-Gm-Message-State: AC+VfDzpzrz9174YrtCJlqx012hk1hkvusaSa0HLeeTQhMLbYqHOb0nt drkgU5X3hP4gSIr7Zm7JMw0Jhg== X-Received: by 2002:a05:6a00:198f:b0:63b:2320:a39f with SMTP id d15-20020a056a00198f00b0063b2320a39fmr5004995pfl.19.1684532952208; Fri, 19 May 2023 14:49:12 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:11 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Sat, 20 May 2023 03:18:09 +0530 Message-Id: <20230519214813.2593271-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361573952962636?= X-GMAIL-MSGID: =?utf-8?q?1766361573952962636?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm6115.dtsi'. Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 631ca327e064..27ff42cf6066 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -661,6 +661,31 @@ usb_hsphy: phy@1613000 { status = "disabled"; }; + cryptobam: dma-controller@1b04000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0x0 0x01b04000 0x0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + + crypto: crypto@1b3a000 { + compatible = "qcom,sm6115-qce", "qcom,ipq4019-qce", "qcom,qce"; + reg = <0x0 0x01b3a000 0x0 0x6000>; + clocks = <&rpmcc RPM_SMD_CE1_CLK>; + clock-names = "core"; + + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + qfprom@1b40000 { compatible = "qcom,sm6115-qfprom", "qcom,qfprom"; reg = <0x0 0x01b40000 0x0 0x7000>; From patchwork Fri May 19 21:48:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96663 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1552108vqo; Fri, 19 May 2023 15:03:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XFQqGBVIgDhEgK1/jz1pORF6LxGvdfVP3u7F7hBWaf9pfUzGMAoQb45DSYaenoBvk4rEv X-Received: by 2002:a17:90a:3189:b0:250:648b:781d with SMTP id j9-20020a17090a318900b00250648b781dmr8026217pjb.23.1684533831362; Fri, 19 May 2023 15:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533831; cv=none; d=google.com; s=arc-20160816; b=GiCTkLZkPmlK2MwOgvol5+Wmjoa97VxXc9p/S+MeZZMOZ4t4gjgZB911ERoP9kf9nc wExDZ4Ox/oD4XrRMFbXwEEngx7t4z7xSbMU1E4zWBZ+Qfx4ZzIneJAwxsdJIxNscoLqk THFsOu9VLD6LYjEkc+BWhWTNCUL3/UxDduny9KsJR6tPKT0tofEHPDtGj47OejhgwYyN auPSCPRNWVAZAK21Edy+ytNoCaco2QgnQNuD090s4uaUD4XUM+dmtdT82wvIOZyhMAls fb6DAJrnZ5vu5CLIfD4vxm1S7Z/RvWrUGBDGeV4OcnnzLwE2NzcVNBH/kbjFI5xqrZDW /dTw== 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=THzd+EMBnTlDtq026V58SAU7TYzPh0/G9GARo8OpvXo=; b=IJTOPOr3GJhxhK1NgwRC5Oj6qFJVtJ85Pqa8W0JhtBlAjDnbWMCYY06bvSWoXe3pNX b4c8QpWVxpO2lMvVTza12spWQw349cDk1958Ke/22/i5DegzkZf9m4yc9QBdFUp/OfL2 WN2YhD4ox7Xv1+it/iQPiU9FCtnIGwDUeIguwBqYB2XvpFpoZLnvBaUvhxds8tSey68N XQoT01d7uEy9sWQJ9LFRmQN3PDnVKwlOnVrs3rba6VECF3yhGyIEcjy3pAsau3V4Eycn cx1Nus+REGlsegndGowSurdWuc62jcbcmY8y1UpPp5N6JOUlSfIabUux+Smuwz72eSOp RGtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y0KODrdY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fw15-20020a17090b128f00b0024ddcb3e1a6si2259723pjb.190.2023.05.19.15.03.38; Fri, 19 May 2023 15:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Y0KODrdY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229693AbjESVuI (ORCPT + 99 others); Fri, 19 May 2023 17:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230148AbjESVte (ORCPT ); Fri, 19 May 2023 17:49:34 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5E49199D for ; Fri, 19 May 2023 14:49:18 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-64d44b198baso28692b3a.0 for ; Fri, 19 May 2023 14:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532958; x=1687124958; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=THzd+EMBnTlDtq026V58SAU7TYzPh0/G9GARo8OpvXo=; b=Y0KODrdYDTlnYU5iok6ajWjS4SzzMynklnL9SWyMwWXUwR7jsKeIqRtLTg/dT3dDqH /+Ef/6wAW9UYKEXDclnU1hIRE3WDh7DKTomEpbeU0mif6KHopElXOsDNXeCmK4VzHYq5 qKbjcsdLc5VRO1lmKfAJ+WWnl0kmGMDhIilK2ugJsLzwRyCFpclRJMeoniD7R4P4Yizd A4Sz6LAwMPBUTke0B06bmYmlILN0lMPw5eHEy4o9hA9UuXbyYcVBtNOFvlOq3mZLKLKj vdIIaohkxfJkfjatCZD9yWDEIQMziN0nIGL1UIS1YZXL+cN52hFqd9XlkhawcVKwWUKK /Oiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532958; x=1687124958; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=THzd+EMBnTlDtq026V58SAU7TYzPh0/G9GARo8OpvXo=; b=PP7sc8ryQRF4gJWBjyiDPKkpiZFmygYhUVPUp2rrKSkAKYfh3ipEnkIdJUHkdTz8L1 Hbq18ZobMwuA2OYQSOLrvzrTHpY411/x9dnMS19YeMyU/OFaco3ET9tQSnXpwmzPRa/K AtW7Odf76sq1WofNLxg2P6NPXBA2bbTgaYNDf4mIFB1tV9qFq+28VPiRf3HomjRpiQih lj1L3R2bOS6jymKJp5keJWm+hFSbKtIUQND5w13abuS/5+eKwF505VNeQre/yofrUHpS wV5+ux4VAufW+jEXDJeSeJFEMFA52qwtMk/BySRbfZ75f+46SxxN3feIu+mvNnyTOdID srYw== X-Gm-Message-State: AC+VfDy/6gaSnzOtJBsWzAD/GS4AYDaVCTWS/HX/sQg9JquuzJV6c+hU J7X9SHpke4dKPiTa2qDRihxf0Q== X-Received: by 2002:a05:6a00:27aa:b0:64d:42b9:6895 with SMTP id bd42-20020a056a0027aa00b0064d42b96895mr789752pfb.5.1684532957845; Fri, 19 May 2023 14:49:17 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:17 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 08/11] arm64: dts: qcom: sm8150: Add Crypto Engine support Date: Sat, 20 May 2023 03:18:10 +0530 Message-Id: <20230519214813.2593271-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361746659882445?= X-GMAIL-MSGID: =?utf-8?q?1766361746659882445?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8150.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 2c377d7bb3a2..2a5b2b99968a 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2085,6 +2085,36 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x502 0x0641>, + <&apps_smmu 0x504 0x0011>, + <&apps_smmu 0x506 0x0011>, + <&apps_smmu 0x508 0x0011>, + <&apps_smmu 0x512 0x0000>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x502 0x0641>, + <&apps_smmu 0x504 0x0011>, + <&apps_smmu 0x506 0x0011>, + <&apps_smmu 0x508 0x0011>, + <&apps_smmu 0x512 0x0000>; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "memory"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x20000>; From patchwork Fri May 19 21:48:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96661 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1551828vqo; Fri, 19 May 2023 15:03:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TW/mfYoi0qj0eU74kWi9+OxITOG+h1HXiTTjLfhoayyipnAWZ8cThNpQu/w2H9Hn/vi+O X-Received: by 2002:a17:90a:6d61:b0:24e:14a4:9b92 with SMTP id z88-20020a17090a6d6100b0024e14a49b92mr4386895pjj.5.1684533805112; Fri, 19 May 2023 15:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533805; cv=none; d=google.com; s=arc-20160816; b=HfN4Xxfdf2dQ4uUilSUn8ZzhC5VL2G8OEKUv4HWng/X5CjGvreCPz5+TBZJ/mb3M+3 bpnuVtM/BtSJjiOVA/H+5ymQ3blFtO2jxGCy0qkyPhxxd1ajYK1H/sY50mTh90i9a8iU n9nYlharWGBB+3zkjU1hjYgNWU3cahkDabHcmAH2UuvLGQ+7tNTdX3PENF/0oDv5WJbv jCZlr2Aoonet+odC2r5Q/bDapK74c13N7Ifmkm+RUa+1/qYmHowV3SYL+S2yfxztI3I/ oD/1ic2AY6xSeM2phMiYnLhpxqwyHQib5YMQW095yEIs64pnWr1r9Ngdl2dm96PL0Cwm Hy/Q== 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=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=N7iKZR+1bIb6EGaUrTA3dL72Kb1/FcThjVGuXqFVKCbNXCL3tfvwA+oANfCEEZJATH novoftXqUx2dHlZb4HTeyOy+YElCAdZ0udKnoJXxdtyi/cyfOb3AU0c3xT9tHnY+uhEL tLSCYyIpiBylsMzTRqrTUhuxFH+HPtB6saQI7acZO7mWnWhppH2unxORlG8j8EkXFXBC 2l6K9+11nMb3LUdk2eZ8dg6wYPbkzQtXFiQ6eZdy4j5zze7xE6/rb2CLXryEuX3LG4DL 96npE72GFLN6rzmaEi7ZQ+lCQ1l63GQGlGVgK0QUkuJl41vGGxXrfsPrgnhbdF3sLluD Du2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JU/j+wF4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf6-20020a17090b1d8600b0025346cf794dsi207347pjb.134.2023.05.19.15.03.12; Fri, 19 May 2023 15:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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="JU/j+wF4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231908AbjESVuS (ORCPT + 99 others); Fri, 19 May 2023 17:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231702AbjESVto (ORCPT ); Fri, 19 May 2023 17:49:44 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D680010F0 for ; Fri, 19 May 2023 14:49:27 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-64d44b198baso28752b3a.0 for ; Fri, 19 May 2023 14:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532964; x=1687124964; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=JU/j+wF4xxh9lERHCCg4N1+f1/6hGzxFeeLl8VrSXpkaBfs3tlS31JJDuG7tVps+vd sqoum0t/fXwbg6NU9BVtI79XnsxAvlqaHjsxdIgxc8FEAAD2AsMyofJ9API4zl9HMiIH veMwKKBoBMP9h+jqK6ugDw/gCpK2xqMTN9qW3phfxvCuxI0DCtVieES/gAJjzXKIIqo6 xDDPrKcTqL7+C1mhUbwUFwUIKLLswhwfiHcqOua/yRs0x2OAlTLQ7Hn3y/X2G/uHfRXZ ggMn4XpfRH3Uurr4i8xu5P1KL/K2dgnW0mZ0VwQ+mQbcadxXQqkX13nGmuAjX4COsAKI vD5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532964; x=1687124964; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=QPKsPsl7ZiDZUc+t177MgXYVlI6cgvvKyG//HlegIIyabp98/CzS3bc1J1wMDfGwbz cu+dzGI6Hu1Lj4W8wc3u5nW+KsiLvjp0ofY1rzkCT+5G4NSwV2Qc+zGR8eQKq4y0GE2j pBzn9T4Y+gUyCxVtl/x7aqgGbHyJ5TGhcUIpZcqgQ7AYusDbdHHFPA8V1zT2MlsueSES lQii4MThqFOtUXjyDGNrHeDbbWnmrh5cHqDtp2weAwFF6lmCVlczstEtk0kIFtRO4C9E UActP+tiZoe6lQANFftTIPfQ0t0ChojuWhQ1Y3uOWcFsJEnhy+rbr1dAoaMO5EbRNxOu WV7Q== X-Gm-Message-State: AC+VfDyXSrJXFqF6kMJo+nipCDoach5yTULJE38rzRYzOzK7HCyh3t32 eibDtf5l70jpjlRFJ6FCCJRYlw== X-Received: by 2002:a05:6a00:a17:b0:64b:e8:24ff with SMTP id p23-20020a056a000a1700b0064b00e824ffmr4155555pfh.17.1684532963814; Fri, 19 May 2023 14:49:23 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:23 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 09/11] arm64: dts: qcom: sm8250: Add Crypto Engine support Date: Sat, 20 May 2023 03:18:11 +0530 Message-Id: <20230519214813.2593271-10-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361719240979213?= X-GMAIL-MSGID: =?utf-8?q?1766361719240979213?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8250.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Co-developed-by and Signed-off-by: Vladimir Zapolskiy Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 7bea916900e2..79fad917d142 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2232,6 +2232,38 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x592 0x0000>, + <&apps_smmu 0x598 0x0000>, + <&apps_smmu 0x599 0x0000>, + <&apps_smmu 0x59f 0x0000>, + <&apps_smmu 0x586 0x0011>, + <&apps_smmu 0x596 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x592 0x0000>, + <&apps_smmu 0x598 0x0000>, + <&apps_smmu 0x599 0x0000>, + <&apps_smmu 0x59f 0x0000>, + <&apps_smmu 0x586 0x0011>, + <&apps_smmu 0x596 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "memory"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; From patchwork Fri May 19 21:48:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96654 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1548563vqo; Fri, 19 May 2023 14:58:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bCVDRZ+mkqOT7e0C4Z+K0HWApCUKv6BMMr3kPBgGC8wDNjIeGF8oQp95CwCIn3EGy9iBl X-Received: by 2002:a17:903:2793:b0:1ad:eb62:f617 with SMTP id jw19-20020a170903279300b001adeb62f617mr3887437plb.45.1684533537888; Fri, 19 May 2023 14:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533537; cv=none; d=google.com; s=arc-20160816; b=fomLZXVXwHOiU6nExveV8Fe2EV3cwkVPlJkni7rwrtIQMc5Vy2KbVSB2oiSSYuq7z0 DOQm8s8niNuXUeZdxzE7OttVJoiNGtitFWbKomVVk1EkkEkhvlAG97cooJEZFFUqwpYM Cs8XEAoIENoFxT73DYu8FEv9YGIM7CpJ01rjz1NyoUOcKedArvyRrpsHODaxG3f0JrZq 3SjZEK6gezwuR8YzQJqEVwPZDeZhCUlh7ikg8TT4LLdgcq/lr0FAE7FF/rbd+gUDbBJd Zhr9b3F8URRSvR86zzktzuEkZJMhGYAjGcb0xMoPScZCcvcpLkIS4tCNSXz9LWEFbW8v 7btA== 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=/u5nTt5TmzYuCAEpy7v0bHr/c9oYRWSHg+eceJeWTGI=; b=OCIbcfPwhJLrShZIbdG/sl9tqvYjzsaLPjooqRhnBE/fGuiDSSm2U66v2K0IJhqDi1 9yCLDmUApBjZwN1g3jXIWkVnViJpkUywti/+TtZASrZ2Kl2Nq1/9k73XPGb7z67Nt5js 3ddRhvWB4dV+4PzWMGSuszFAfJuM4VF95jBwMCvdAbw0+gBvKMq6EKwonYdI5aeDv9rU IiapmBraEMBeo04Twdng7k7wBOiPv/stwd1fF7OvdMl/lhpBm/kN8K6060vUpxLvsxMV cu/80bG/2MnwQdAxHxpvnJi41F7FISdjClYtG2vKIu1ejxSQAuAxxrVHABMIt3R92hnm Yziw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BNcyzkI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a170902ecc600b001aadba392b7si163012plh.517.2023.05.19.14.58.45; Fri, 19 May 2023 14:58:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=BNcyzkI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231340AbjESVuc (ORCPT + 99 others); Fri, 19 May 2023 17:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjESVuF (ORCPT ); Fri, 19 May 2023 17:50:05 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 869C310FF for ; Fri, 19 May 2023 14:49:34 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-64d2467d640so2501775b3a.1 for ; Fri, 19 May 2023 14:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532969; x=1687124969; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/u5nTt5TmzYuCAEpy7v0bHr/c9oYRWSHg+eceJeWTGI=; b=BNcyzkI5/aihfSFsClaLOQm5qCqi7N8SqPFqAezWjcje7uvU6ZcljKsCJiEwz9IN/h 3qq7ZhbMm+72kIvZQazYy3NmUSzM5EKKixo1LZkvz3D1MmGuyHwv1GmhyQF14qMe30+3 ZfdRtkjoylDfqzQ4Lje2H80D2X2cEoWI3JQJs8+RuDSKWBfmnkS+MK3ydyoX5PzA7M53 w5s8kp02qIviUeemdpRAJaDt6LmZjlfpnX9QNHindvZhb5ryIRK77oRSS8M7tABDXiM5 cfLGKLONxdb0k56mNq+KeHkgxQ1GYQWjWfBzLRLpBSRjT0fmJ+UPUtPb1cjqhhPCTUwV iN2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532969; x=1687124969; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/u5nTt5TmzYuCAEpy7v0bHr/c9oYRWSHg+eceJeWTGI=; b=mB4FUv63slG5It7tLbrshYqG3Q7dK2Kv18fQeCk3D9IHvuEkh/YhaGbjYUwqKlbV0f Fu/e8zfC8wwo3YaaWrlDDzyxlnv04HDLv/DnMy2rgTs0hv7QYa4bGpq5Q3ycP7NYu3KQ YjCXKCwX141nNtsdqSbZsbWG0XGbdxjSfXVDEfXPIpskewTvwpdDhEjshQe1+aUfhlyB M5JrSKBSHAx+72sVbfS9kn6eawL8KcTUlLXFdqO1WF0Yg2+boFy0h26C2h/ndkRNZH8a mvnrQvDUbJRexMf8Ge72m+QjoJcrp6gmJ0wOy2GLtNGK0EyeRQJK12bQDYpDzWIpuELG U1Ag== X-Gm-Message-State: AC+VfDys/5VOTpUlxuJ1EtYuoGeqt70MQMq5eskmuryT5x06FSC0oPKS 3TrbbkuuaH5D0z9MQay/aQRWbg== X-Received: by 2002:a05:6a00:2d96:b0:64c:b819:89c1 with SMTP id fb22-20020a056a002d9600b0064cb81989c1mr4762386pfb.27.1684532969596; Fri, 19 May 2023 14:49:29 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:29 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Sat, 20 May 2023 03:18:12 +0530 Message-Id: <20230519214813.2593271-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361439087668896?= X-GMAIL-MSGID: =?utf-8?q?1766361439087668896?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8350.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Co-developed-by and Signed-off-by: Robert Foss [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index ebcb481571c2..d00542f29dc8 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1726,6 +1726,28 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sm8350-ipa"; From patchwork Fri May 19 21:48:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 96665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1552462vqo; Fri, 19 May 2023 15:04:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4o4EeYW+CE4aTyuVxcYYWxYsNHhopk03PvSCaVM/3FgurXRWXCdc1kT6SYKdpcUOKb0Kgj X-Received: by 2002:a17:902:f68f:b0:1a6:9d1b:e18f with SMTP id l15-20020a170902f68f00b001a69d1be18fmr4670254plg.45.1684533857817; Fri, 19 May 2023 15:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533857; cv=none; d=google.com; s=arc-20160816; b=cr2Rvq6Rg89WjDeLNCEuPxDL8UMOO3G7fI9eBLaXXXUabxnsBLrzdj7Ryn8YaDa7+E gjxNXhqcnrWAq8AyU9j7Y6BrOIAtQcQgJCrM9Z8WJ0keuNpQEnF0r14pSssxMaXT79yD zcu6ZWjtjG2exnsZ2CWx8LVih5itSxOe7WwoJm2azX2HkBgZlHynrWuJzTh/LAmAvp4x UEFQmPFGLLEl8Ii1OuBzIRO2hZG5hCGYomACWdEMfVoMyzVH9OPh1wWPZswUqkhjlf0+ b4MaGnjTJVi7rbanunisYCo8wm8+QOYvNFcGFdWn5DjuumAAi+/d3c1fi/sKdtPDz4+Y +Nvw== 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=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=aGlzA+Mov9QpBmjpHXngXUZHdYhYxmaR+R9f4dxHZIAtIV+zkw1WN/OUd3LVyer3+O 97lTzW8x7yurhr2ytvrCR9EH6TooYaTnRumcrbLuGu3xsNdpas+ZAYg0X7iIx/wPWnoX swrz3SLxouLEho2/9rHGMmPfdWpSjAqmLU6l5C1iNzTFKGhyDSNcBr5m5uwlsoXsU+kK W1VgvcUYFlHz7ineSvXSRpiTyUp3Gvo0yVGy4QgWk4E9MAm/JFqLuvoTubDDxmRMyNud ESZ+Su6D1zL7LsLABQ5DoSR0hhOoLf48mlXhaVwLFv9c2feGj6bH9pzB0+b6U0ijJU1Z zEIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b1RKkDvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x6-20020a170902ea8600b001a2513b8e14si196036plb.84.2023.05.19.15.03.58; Fri, 19 May 2023 15:04:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=b1RKkDvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231942AbjESVul (ORCPT + 99 others); Fri, 19 May 2023 17:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjESVuH (ORCPT ); Fri, 19 May 2023 17:50:07 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36E091711 for ; Fri, 19 May 2023 14:49:37 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-64d426e63baso450170b3a.0 for ; Fri, 19 May 2023 14:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532975; x=1687124975; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=b1RKkDvksKLGmpT/EePmAxBCny09Q8ABI2ZOS/AahJ95WTR/XKUx1Xi0Lwupi84AgN q78qnHcZbVvTREDAWZHIlQKI3/17yFz7MfSnN25tKUTNdvjl7zTbtMPDr7OpB2smOM4x 64ftMOc4OHycDjXL7Qa7WBBnI+0II0yCBr+RggyFd8kDWGSKv+Es245t+2CPwlsDJpw/ ImaGahLSj5iVkZHHNEIz1q88iXVBVVpPIgJ84bVrTg1ncjUEQB0pVBn0NuUKtQUF2Xw0 G7kofeFvOjbG13fZVqTVzZ6C3pNvNR3q/YZS4B+xizw27dY/QM7CgrMtkfYLZU8SpcxZ B1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532975; x=1687124975; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=JdOcHp64T9vyhGDBiszhL6Poadb24O7WuZi2I5VrK6EUlhTytUgBwqYJZmtqKoObyA niZWH/qJcfphzC66oLW5Td9naGpVq5cUJESDyGSp8ifLXzy9sQrtHyftEUOo8AV3UdeO +EQalzEwA0JiTyQxRuee3KN+yCrbZFU+0fGyaBeTDf86WWTBkEiqK4svWO89Boqhnjhv jCvUWMetB+c+gw+T673VNq8cQCjw27G0J+8OZVYB+aDRpF91TH45FaYzLAI+aR+pZGnN i1F9PTP9r3cfgd4C0oWqb4/2DoLq5jrYPXHYcKUCs8sf+lAYdCIQsvizzqGXJ1VFPUDN n7ig== X-Gm-Message-State: AC+VfDw/d4CZCvbGkScgMzNUOe9fRbwTjPgWW6gfTyynN7/YSLA1ZEnO GnlbWa09ZIC0MZN7BsoxL4CHFQ== X-Received: by 2002:a05:6a00:2405:b0:640:f313:efba with SMTP id z5-20020a056a00240500b00640f313efbamr4225248pfh.19.1684532975199; Fri, 19 May 2023 14:49:35 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:34 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Sat, 20 May 2023 03:18:13 +0530 Message-Id: <20230519214813.2593271-12-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766361774492295129?= X-GMAIL-MSGID: =?utf-8?q?1766361774492295129?= From: Neil Armstrong Add crypto engine (CE) and CE BAM related nodes and definitions for the SM8450 SoC. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Neil Armstrong [Bhupesh: Corrected the compatible list] Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 595533aeafc4..1c65f7dc67f2 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4138,6 +4138,34 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x28000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + }; + + crypto: crypto@1de0000 { + compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + sdhc_2: mmc@8804000 { compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x08804000 0 0x1000>;