Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3586285rwb; Mon, 16 Jan 2023 09:55:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXv6vZJvotepvJaXmHfrUO6uPyHBq0YMRnWGcAvo3ET4slTCU7lKpUytpaRTM2LpAqnChi89 X-Received: by 2002:a05:6402:4013:b0:46c:a763:5889 with SMTP id d19-20020a056402401300b0046ca7635889mr128130eda.25.1673891729739; Mon, 16 Jan 2023 09:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673891729; cv=none; d=google.com; s=arc-20160816; b=vN6MpXFVNIAg4gP0C7Z/5tyLXN7Kd6ky0xfpT7m8j+HhYBbRD6xu1Z4Yv7UyELeapm Eey9w/dhsPGfJoAAlBpmfMj7fm/ruHsz3KR1Cat8P0mAV/qTUIlhYhQNntAL50zSlcWW 44MyOgaK7VzLwU+mKNUh3KrbmW4V0fxr40NchzGGJvsV8Cq7D0CePAQ7+WWUKExTPv7n InvUq35p0hG1nN9DtZIbrUOA0ECIF7QyUdmchBMlwclULoqBq+NbRFt3aJnX0ByWeOs5 qClNbnb5K0+aU1J+4tUTzmgSsF0ve2d3W7wXdIWOYZpN8t/SpwRrnfcc03rpy4G9yeJ/ iZ/A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Ccdi6WyL4Z5pA5oUnUJFVMN58+DXcZgnG8xyjA2Jd9c=; b=lUX+kHhywvlsihBZsT7NbVEVidXTJc9Vj2YMQLKEs+ccJUHUgnxo7tsBjisUKwVrwG sWkwgpuTqyqvBpUP+qA2TM4e1pE8wJOEMV+YSeGFrGj7eDXOqlMUXrh3ocLow4y2+E6+ 0Tq24UuBbklqisyPCcDzR37CwpTxrYyVOtzKEYcb66w3fjaJGT5JMjo/qeM5Btd0dan5 kIQLBOiWpWNxYOoqzdbgRq9wV5haA5xV3vHRtSc58AxRlXdVbBQWmEttnRPDoVs9vP0l 2hrR2ZNhtFLr5lXj0k9Hb3IiceR0Cz05kgJrDXptdTStI6M4BpeIGkwrbYiblVJJWeSk OR2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BYVjSxYf; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a056402358800b0048ba605a150si8059652edc.240.2023.01.16.09.55.16; Mon, 16 Jan 2023 09:55:29 -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=@kernel.org header.s=k20201202 header.b=BYVjSxYf; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230458AbjAPRAo (ORCPT + 52 others); Mon, 16 Jan 2023 12:00:44 -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: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 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/Documentation/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 + dma-coherent: true + interconnects: minItems: 2 maxItems: 2 -- 2.38.2