Message ID | 20230109174511.1740856-17-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2290130wrt; Mon, 9 Jan 2023 09:49:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXth5y/ervIjNruos605U4IE1vqqzKX92mnLdRSsdLdoEfwz1a2pCe/5jnPlCB+E8eXERSFf X-Received: by 2002:a05:6a00:be2:b0:56b:fa67:1f7f with SMTP id x34-20020a056a000be200b0056bfa671f7fmr64271114pfu.19.1673286590677; Mon, 09 Jan 2023 09:49:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673286590; cv=none; d=google.com; s=arc-20160816; b=vXuaeZnvR70lgvd+h8sY+5Z2gUnUi6XtMJS/iqOwgvGRXFyJV/zpB28H4ut6MiWNEu Q3NO0sRyh9JxxmtY/FaZP3r0L1vrVbYEt0zSEkJm4m63BLutPmN1N2Y741eRNmMIujYZ 8rNsvDnKmCujFio14ne8LNj70BR2eIq6ImgSEHJxFN/+r3dxHvvs7Jc5LwoBsnKBdZ0r ykLI/jHtcRHVUr696vxu7p8UNEPslAE2vVK/b2bmZzsQ58bFLRS6vn5HH0Ar1N1EQGQY dtC/M5ojK8Rga8yqofP5Xdj18h5Cfy8BY9MvRv/VLN73r1J3sYVXX5dGWMHjk7+AHbep yvdw== 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=Z32OObItYDU5Snv+OKv7I8Kte9b3truphqMhTjg9bvg=; b=XA5+DvnA7KwCkROVa0iS6uxycC7DMP4m9TIRVi+HqlNJqkq9rwQVZnOREQtgyVw+vm cwMQeGAX7mtfscwL2tapM1XiRXah2eBbSylqJlL55m3stluQNcCFxnSzbHgzaYF1E0df HXjNiElZjm/V+HaEd15bxnVLsumaOA9K/TeoIqkHmjhnFzczK5cEwLXfBmTa6bDXr0xi Ap+F0UI0CaZOnMANrNihhxxKD2y6YQX/XqqkyHkQf44vRGq41qal/XJ74Mc8dFUJj4YN 5DCCJ4Nd/8LEH9ZenmpWteTT/sEZga9wJchd6K+V5xTf4X0xrA8er8ve/1RXJihXU/ru gndw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=V0SBMwVn; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a056a00084d00b00563764cecb3si10341036pfk.279.2023.01.09.09.49.38; Mon, 09 Jan 2023 09:49:50 -0800 (PST) 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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=V0SBMwVn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237571AbjAIRs7 (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Mon, 9 Jan 2023 12:48:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237319AbjAIRrH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 9 Jan 2023 12:47:07 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C3521AD for <linux-kernel@vger.kernel.org>; Mon, 9 Jan 2023 09:45:55 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id az7so9012536wrb.5 for <linux-kernel@vger.kernel.org>; Mon, 09 Jan 2023 09:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; 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=Z32OObItYDU5Snv+OKv7I8Kte9b3truphqMhTjg9bvg=; b=V0SBMwVnRaQX+3Qqk9nABhO/dRGl4eb/dljK1gQ5Zviw+b8Axzr52HngVGgiUxmz7f jhz26jhU6WQM9ewMJ8DZIjcAYP6jErBIUidEuOo08WHJ6RIW/lISNoS21pvcEW4u7ZoU 1qws2X0PVwSAoZzkIs8HgOsZNv4bayRKsnXBaW27tl+v1hiLF9/g4J1I/AJ7ZTQpbyk3 Z/Zk+aqbPqwPt5vhyIniaEIPhrlalZHlKLpm2azb2EsHxSpjcanaDlBf/S0LItgjc2Fu jNLjgxA/M5XUSyyEMNFT0EigNMXp3IjqqtXhmdFxinbNEa3f3z6CwqJ24CvSmJ/J44LC RAYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Z32OObItYDU5Snv+OKv7I8Kte9b3truphqMhTjg9bvg=; b=a3WhPclM7mNOmyDRqDxlOyY3EZG98UCyt16URWUTdLRfuUbCxyiomZUOQOnMJDHm5Y B3aXAOpT3R8vfxJ+DwdyMlBaN91yR3isu1Q7kI6aU78M+BwRUkJUKjljj6C6bfUHs2pE 8JlhoJTJl2y3flQxn/u4wXkvvxRQa2T3SGEbDU8UWtCrcOLKe/9cXkaDoTdyMwESaHlv InjW7G9CUr7usOy+9h/QVHI4y2/YJ1vvZ6+eW8KiUq/hNTEu3ELvCx1BpLI5nYTPlVIU 5Qf9dwUcxD/7GVZESQ5fFlPGK4h2bzA6HZ+u7dcU8mbJdIw022/jTEI8wsIJ1yCuclDx MY8w== X-Gm-Message-State: AFqh2kqgLvmVBY4zTrWEfi7Z+Oz5MjNRwVAtIIbRIpVVWycqFjFxy+oZ ihVaLD5sfeHwGKUZLzEdi50pxA== X-Received: by 2002:adf:fa4f:0:b0:2ba:f3a5:d0fe with SMTP id y15-20020adffa4f000000b002baf3a5d0femr8184847wrr.63.1673286353546; Mon, 09 Jan 2023 09:45:53 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:c88:901e:c74c:8e80]) by smtp.gmail.com with ESMTPSA id m1-20020a5d6241000000b002bbdaf21744sm6142902wrv.113.2023.01.09.09.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 09:45:53 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Georgi Djakov <djakov@kernel.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org>, Manivannan Sadhasivam <mani@kernel.org>, Jassi Brar <jassisinghbrar@gmail.com>, Linus Walleij <linus.walleij@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, Richard Cochran <richardcochran@gmail.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Vinod Koul <vkoul@kernel.org>, Alex Elder <elder@kernel.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH 16/18] iommu: arm-smmu: qcom: add support for sa8775p Date: Mon, 9 Jan 2023 18:45:09 +0100 Message-Id: <20230109174511.1740856-17-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230109174511.1740856-1-brgl@bgdev.pl> References: <20230109174511.1740856-1-brgl@bgdev.pl> 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,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754568160309416902?= X-GMAIL-MSGID: =?utf-8?q?1754568160309416902?= |
Series |
arm64: qcom: add support for sa8775p-ride
|
|
Commit Message
Bartosz Golaszewski
Jan. 9, 2023, 5:45 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Extend the driver to support the sa8775p platform. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+)
Comments
On 9.01.2023 18:45, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > Extend the driver to support the sa8775p platform. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > index 91d404deb115..5e12742fcfd9 100644 > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c /* * Do not add any more qcom,SOC-smmu-500 entries to this list, unless they need * special handling and can not be covered by the qcom,smmu-500 entry. */ > @@ -500,6 +500,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { > { .compatible = "qcom,msm8998-smmu-v2", .data = &qcom_smmu_v2_data }, > { .compatible = "qcom,qcm2290-smmu-500", .data = &qcom_smmu_500_impl0_data }, > { .compatible = "qcom,qdu1000-smmu-500", .data = &qcom_smmu_500_impl0_data }, > + { .compatible = "qcom,sa8775p-smmu-500", .data = &qcom_smmu_500_impl0_data }, > { .compatible = "qcom,sc7180-smmu-500", .data = &qcom_smmu_500_impl0_data }, > { .compatible = "qcom,sc7280-smmu-500", .data = &qcom_smmu_500_impl0_data }, > { .compatible = "qcom,sc8180x-smmu-500", .data = &qcom_smmu_500_impl0_data }, Document the property in bindings and follow it by "qcom,smmu-500", "arm,mmu-500" instead. Konrad
On 09/01/2023 19:10, Konrad Dybcio wrote: > > > On 9.01.2023 18:45, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> >> >> Extend the driver to support the sa8775p platform. >> >> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> >> --- >> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c >> index 91d404deb115..5e12742fcfd9 100644 >> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c >> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > /* > * Do not add any more qcom,SOC-smmu-500 entries to this list, unless they need > * special handling and can not be covered by the qcom,smmu-500 entry. > */ We should change the default -U argument for git format-patch :) Best regards, Krzysztof
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 91d404deb115..5e12742fcfd9 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -500,6 +500,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,msm8998-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,qcm2290-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,qdu1000-smmu-500", .data = &qcom_smmu_500_impl0_data }, + { .compatible = "qcom,sa8775p-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sc7180-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sc7280-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sc8180x-smmu-500", .data = &qcom_smmu_500_impl0_data },