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: 660056 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 C1658C6FD1A for ; Tue, 7 Mar 2023 15:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231232AbjCGPcS (ORCPT ); Tue, 7 Mar 2023 10:32:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbjCGPcN (ORCPT ); Tue, 7 Mar 2023 10:32:13 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75AA3E097 for ; Tue, 7 Mar 2023 07:32:08 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id y2so13556712pjg.3 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=7A1dV+tf52KJnSKgWvDYLgoLVGs1YrWpSdxjxEN8Q7wL9Z3Knf6K1X+wXvWpAukLe8 +/ruXUzd8kBIPXgVwzxDS8Gb/rNwUHy7rnvzE3HpaZ1xh4a2c7THI+VFfrrF7zyQAXIa HNkNwSF5zEfji1TDAbY9H3KrhFm4LXTZANIX55pjChUs94O6tCCemx2P0MDgLJG3dpsE UDPEPfi1Di77nCDcBdnD7rws3ACc2A6MCbFSxKPGla1GuUAb640FvRgn1pkcHZLh7Bfn 8nlJ8cBRVX2Lx2qNzJd735+/Vdidqfj3bv6p9ubvnGVwXVe70QqSK68WqBBZ2PzpBZId C64Q== X-Gm-Message-State: AO0yUKU02CPwGlTUpfF4cPUAdsy2T84GVurvtq6RQHpSBi4eEV1vjZLE +rg1/gJMaLjWp0D7FieDORY5b1ZL4pXvi6ubKA== 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: devicetree@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 --- 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",