From nobody Mon Sep 15 02:00:24 2025 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 AB242C678D8 for ; Mon, 16 Jan 2023 17:00:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234100AbjAPRAq (ORCPT ); Mon, 16 Jan 2023 12:00:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbjAPRAJ (ORCPT ); Mon, 16 Jan 2023 12:00:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAFE42DFE; Mon, 16 Jan 2023 08:42:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AEBCA61092; Mon, 16 Jan 2023 16:42:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17C59C433D2; Mon, 16 Jan 2023 16:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673887376; bh=8a3MlUovzOvRSVhA5GVPmvPsQkOoUVDWU54w2dSskdA=; h=From:To:Cc:Subject:Date:From; b=BYVjSxYf7ZCktDrlSOSxMCnxFM1Srdx9kASdl9GSLq7/2wq43oA655h1SFh76Z6TK 3SFhNV9Nag9pfV74xzmof6OxUEkKtA4fgkDGBKdglUyziMBrtDL4M2h6mLYsBz1kKU E8a82BQDKKAOh7iX7YF3RePkoqddAcs71zGP9wuPBk6Mh424T1njJ8FlGNK92aTP2k 4VrdFsWLQNYfhBawZ0oGx2k7Q0PH86SbvZ/DkF0I4v2Qf12/+4mXHSiiTcDQ13TJxq 16jSqKBdnUQR0J6ipzKSb/mfh+VzU8R7iRcFuyvx0DxOD0ZIukdfwFJjjqN1QvY2gT PZgNP/+26g56Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pHSZm-0004wK-KL; Mon, 16 Jan 2023 17:43:15 +0100 From: Johan Hovold To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Rob Herring Subject: [PATCH RESEND] dt-bindings: ufs: qcom: allow 'dma-coherent' property Date: Mon, 16 Jan 2023 17:42:36 +0100 Message-Id: <20230116164236.18958-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.38.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" UFS controllers may be cache coherent and must be marked as such in the devicetree to avoid data corruption. This is specifically needed on recent Qualcomm platforms like SC8280XP. Reviewed-by: Rob Herring Reviewed-by: Bjorn Andersson Signed-off-by: Johan Hovold --- James and Martin, I'm resending as reminder in case you missed the first submission which included an arm64 dts update and also did not have you on CC as I was following scripts/get_maintainer.pl too literally: https://lore.kernel.org/all/20221205100837.29212-1-johan+linaro@kernel.org/ I've added Rob and Bjorn's Reviewed-by tags from the above thread. Could you take this one through the scsi tree? Johan Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Document= ation/devicetree/bindings/ufs/qcom,ufs.yaml index f2d6298d926c..1f1d286749c0 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -44,6 +44,8 @@ properties: minItems: 8 maxItems: 11 =20 + dma-coherent: true + interconnects: minItems: 2 maxItems: 2 --=20 2.38.2