From patchwork Tue Mar 7 15:32:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 659970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A160FC678D4 for ; Tue, 7 Mar 2023 15:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231229AbjCGPcQ (ORCPT ); Tue, 7 Mar 2023 10:32:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231201AbjCGPcN (ORCPT ); Tue, 7 Mar 2023 10:32:13 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C6EC58C09 for ; Tue, 7 Mar 2023 07:32:08 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id u5so14464104plq.7 for ; Tue, 07 Mar 2023 07:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678203128; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=99KcN0KUzxUMOifeobUywCVUN2cCL7LQNwuX/8gz59Q=; b=RuRCRqRkSJ46eOsUdOViqsVJku4VaLtx75eL33+hukIU6nffPYmW8HTfQ3Uyq0S+fB tQpgbHKRUOBDc14AhvxeruizL//11F5CcP3PeU4AhSlqVWEXDl1gFYPnSXuAroyTGI6v 6Cat1tHcRul0ClCFj64PPgs4HZpKmXvNz9sLRCnTwzKP0UoVLm/nVobmkaycnilYOTi1 AweoDWEM6MuRvYRXgR7j4XHVFayLlTxz6XeRZl3i6iu3Ao+6KBBWj2gihcsPvoZzXZFU +1BhPsPlT3zpnVrpaDwxmU3/hbuFMmcK37uNymWCqRgleypjSxkHiipVMnCXCPJckng3 tePw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678203128; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=99KcN0KUzxUMOifeobUywCVUN2cCL7LQNwuX/8gz59Q=; b=j252Ia7xfx8WSUC7+dhy+ekJjj8xupR077own5SBMsLMXFPzygxttKBMTvH+J2Zztv NGbHGNIyng7r2sRW7mCAm+9t8wToK/H/xIE5AmUKpfxdQAC0xx+ZRE974jpxv5M6y55L 2p5+C7gpGcX4vFcG47L6/tb1oa0WrLuEwOfbZSbIteUFqHjE27G5DMqhqA1ihZrWHMBk VP5xU/ShbRvq7xpUWN2xpfdIPcq0OuvKpx9kzPFBrcQGhc24xyOa4CQja4SKIetGPcil qA/MGOqWWDzDMoMm9u6II/nmF5uOdzetzcdtyNb149lZfOuPYicu2HdYKzM4eamH5m3R /slQ== X-Gm-Message-State: AO0yUKUfm+x7ltvF1wC8gvVsoEKyUQZdxDXz8o2OEMLx9mi5LMJvtsp8 qHmFCYEP9VwCXdC2HPuqxl8T X-Google-Smtp-Source: AK7set8mwO7YodY1cgNPBX2a08RLyOa/1GpC9j29FcBop7qYPg1YswB3SfdzYgYE884ytRDiP3YkEw== X-Received: by 2002:a17:903:1d1:b0:19e:6947:3b27 with SMTP id e17-20020a17090301d100b0019e69473b27mr19965986plh.58.1678203127913; Tue, 07 Mar 2023 07:32:07 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id f18-20020a170902ce9200b0019c93ee6902sm8541436plg.109.2023.03.07.07.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 07:32:07 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 1/2] arm64: dts: qcom: sm8350: Mark UFS controller as cache coherent Date: Tue, 7 Mar 2023 21:02:00 +0530 Message-Id: <20230307153201.180626-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The UFS controller on SM8350 supports cache coherency, hence add the "dma-coherent" property to mark it as such. Fixes: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 1c97e28da6ad..1a5a612d4234 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1664,6 +1664,7 @@ ufs_mem_hc: ufshc@1d84000 { power-domains = <&gcc UFS_PHY_GDSC>; iommus = <&apps_smmu 0xe0 0x0>; + dma-coherent; clock-names = "core_clk",