From patchwork Mon May 15 09:53:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 682296 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 C11F4C7EE22 for ; Mon, 15 May 2023 09:54:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240396AbjEOJyL (ORCPT ); Mon, 15 May 2023 05:54:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240220AbjEOJxt (ORCPT ); Mon, 15 May 2023 05:53:49 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8221FE9 for ; Mon, 15 May 2023 02:53:16 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30789a4c537so6594473f8f.0 for ; Mon, 15 May 2023 02:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684144395; x=1686736395; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4xoKLoBtO6JbCjepCa5c12r42aP/CGO4v/y128we9BQ=; b=21H8dYaOZv0Nu034SJA5yJfTXlAxp6uvDuHiV/WEDpTbaVXJcFmPyMwDxnaCOeiS/U HxqhNJTJfl3A6P48YyRVZZzuJQaPXSjnqQL6LuJ0NwwEcMhsQgbIk0W3IYBb8YRb2DO5 oDqHoX7ivR91Q93gcXMODInL29kM5lEuOOC+m5/VKPERSN0Rs639hLjfeJt1+K7GgXYB lLLBqGyox5z/nboZv0gjYUWjMTRo9vJa1Xzbc3Wk6gM22vrCmIpohBgx5rqrEmUasxYY vUGl7IVC1Jf/Nb52OUlLgF641K9pUd6AzBuloMij778+qBcXcfM3+mHhgQbWQAMSDI+x CLTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684144395; x=1686736395; 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=4xoKLoBtO6JbCjepCa5c12r42aP/CGO4v/y128we9BQ=; b=lT9iIfJ/oKwVGpTo9mgRPGn1QNiXYNMNegPRsfj3ie6NFU34k0uP4ju88BgIAY9nDS anfYgqGJtXoYhH1axs5j4nR02rNE8ohToc/+gYHKXFvQbWmfaUzcdsCy/Ern4ZDOwc64 R/0GcHCB4oOgij+C1anYQ4auf22Ug4HhlbLPzaAjxA+ZsyGskGw9SU4zgH0mxLea2PKw P1DlLejTnkCJ8rF1GEvA+dI/Woinb5t4NCmeLxRTOfud2aS2IM77g/U+hqKcKuYWg1Nu HThSWMb6UQRhAfTIsTIparjJBiAAKIvoP5jMDmfx+QHt+Rn/6gvXBMvHKmrmwGrUE0vZ XDhA== X-Gm-Message-State: AC+VfDyUjWviXZomxSP4+3WVcElUD6ztkcFgspmREStU0zMYRbk9jYuz Bwu1TUgaLe3suaWzzzKE0s4GUA== X-Google-Smtp-Source: ACHHUZ7uQiiIX7ojRv2QU5h9YTwUl2i38KxCdmaX6EFJ8ZTx9bFauBpjvVJkLmp8Na07xcfW2d3LBg== X-Received: by 2002:adf:e84e:0:b0:306:35fa:202b with SMTP id d14-20020adfe84e000000b0030635fa202bmr21392240wrn.6.1684144395121; Mon, 15 May 2023 02:53:15 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:1388:9f6:c7d9:3b77]) by smtp.gmail.com with ESMTPSA id q12-20020a05600000cc00b0030795b2be15sm24228443wrx.103.2023.05.15.02.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 02:53:14 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 0/3] arm64: qcom: sa8775p: add support for UFS Date: Mon, 15 May 2023 11:53:05 +0200 Message-Id: <20230515095308.183424-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Bartosz Golaszewski Update relevant DT bindings, add new config to the driver and add UFS and PHY nodes to the .dtsi and enable them in the board .dts for sa8775p-ride. v3 -> v4: - drop applied patches - mark the UFS as dma-coherent v2 -> v3: - fix DT bindings: move allOf: below required: - collect review tags v1 -> v2: - order new compatibles alphabetically - rework the UFS PHY bindings to accomodate more clocks - add a comment in the .dts regarding a non-standard clock used by the UFS PHY Bartosz Golaszewski (3): dt-bindings: ufs: qcom: add compatible for sa8775p arm64: dts: qcom: sa8775p: add UFS nodes arm64: dts: qcom: sa8775p-ride: enable UFS .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 19 ++++++ arch/arm64/boot/dts/qcom/sa8775p.dtsi | 59 +++++++++++++++++++ 3 files changed, 80 insertions(+)