From patchwork Fri Mar 31 19:59:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 7560 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp810590vqo; Fri, 31 Mar 2023 13:11:56 -0700 (PDT) X-Google-Smtp-Source: AKy350YSc2jtrtA4DQFGnsBGnBejYmpObFaJNX2rC5WlSyNuWMu/fFUPNEweOtkqgXC0vu80JHxB X-Received: by 2002:aa7:d313:0:b0:4f9:e6f1:5c7c with SMTP id p19-20020aa7d313000000b004f9e6f15c7cmr28533489edq.32.1680293516366; Fri, 31 Mar 2023 13:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680293516; cv=none; d=google.com; s=arc-20160816; b=czeCdUAugNts7k/o1zq3ueJnXnzh5JkQiIpt4BN1+3sij9jRQEs5hxSVdWKscZDnMs GlRaG6/X4wJLh3XGDEZsacYp6uZO9uPGjhwgmgbnQF3vy/xTEjDD9ArYCPWje4sYBOVO 2Y8HVsxs00kZ85JWNEClN4bSEz6vZmurkHX/dxLDD0si0t3vKgaoR+gvsmXGaFGvBR9g LYvD15B8/L/jZbBlj2s+JBebImbEY0Ot/NV/W3tcqK5Gw8XlNSpJGCgp+twohjhj0XOb TEKNU68oAy4X0OapjBYIXvwwgPVm68eiOhL5mN7MlrRQJDUCvThKTke1zUDvEVZ7avLu F2hQ== 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=aKMqWuHq1atNt6umWF5yeL6AWpUb/E2kDARevmv/t7E=; b=DPH4Se5zxFftWfqUOkrJsCg30oc14l+HnLLo127+e1xuHrR7290HcxeAqLms83kg6S HFI8b46JDpFVZd16KOXPcpwTmpQhBvh5qbDeGctxdXmCbLLfn7oIcyZOCfQPduywgQ1T gGh9pukim8zUbaD9VE5yGkv2vSvqlEahmqhBqI+GMP74wEnS8kt7f5EnN9WyH2/k5KRP +Asxzv6Us5ilddvoDGS9V0ZU54U5cOuKhVR+Aa9tfwCs0ely8Kh1g+B7qGtt9rDkK6Rp FxuC3gK2YEWJK/tW1jlkXaIJYHWOc2WsFnQB7PU/+/dY4KtZdOd4urLGLwzCFXuPW7rY qlmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=R1yGbDzZ; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020aa7d603000000b004aaa505ac5fsi2988332edr.76.2023.03.31.13.11.32; Fri, 31 Mar 2023 13:11:56 -0700 (PDT) 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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=R1yGbDzZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbjCaT7f (ORCPT + 99 others); Fri, 31 Mar 2023 15:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbjCaT7e (ORCPT ); Fri, 31 Mar 2023 15:59:34 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EF1114 for ; Fri, 31 Mar 2023 12:59:32 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id t4so18343728wra.7 for ; Fri, 31 Mar 2023 12:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1680292771; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aKMqWuHq1atNt6umWF5yeL6AWpUb/E2kDARevmv/t7E=; b=R1yGbDzZkXSfNAmHOrec1xK+vmJwYF1I9Tmf/86J//hF4fFCeObYLB/wng4+xQouEu IRHckzWQYRtWBSOU99bxb3/VfvIaF0Tp0i8TCxAZtDqKgW27pDehQGLXzHUeUT+3Xo9j 1JNeCmWulw+B2RmWzURTrsKrqvE84OJxJ+WiVJAhfBw6IYh2cNeDEpF+B91M/JIJXvT1 Bnc2FU0rLYrCRcM1iwhSjaAdIXBXGayRbyBnQd0Vz0w4I80SRNkIbgDRHzcd5Rj2XLSh MwC2Q0SkR9bstLKfuXsue7hxTLABhSZA2MuwSZVlL6L93HdYBkIwJ9QkMOKQW9UMB/yv lY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680292771; 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=aKMqWuHq1atNt6umWF5yeL6AWpUb/E2kDARevmv/t7E=; b=LUAAo8hi27ZZS9B34IKQ4xrcBvrRW+8YBe7SDI3HCBL8d3xtjSavmTLfW0V99HYCgt 8JRL//gi57/zpLHADKVGhGdLuNYg3uUf/GCfSFtKgzdM7R6gaBAK81Wj7PSj6kCPUPe0 S5pZsEG/vXkqWpErKFO46EIFR5cHfZpFrrt5Tv8f5Rrl7ZuGwNgvOiCT4XyLobfunkuW tHlt1xJ8MPRaOwvTQs0GtHXqEeagPkjQcQF/0n6PSoBoKF867PdwBoOgltwj+uRfNyzU /N23/ATOiOIgdRhl5B9l92/gOeY7/EoAqUySGigw5hFozjQzwz/2mFwaESgOBFtwJD/F D0DA== X-Gm-Message-State: AAQBX9eshJUXiPORHRntKX3jqiNqS6xFu1XIr7AJXHTUUU7RdvuR5qN8 ukVhkvcM14akaGUMtECPL2eA8Ny//JKg/EnCU24= X-Received: by 2002:a5d:4e47:0:b0:2e4:cbfe:da52 with SMTP id r7-20020a5d4e47000000b002e4cbfeda52mr5117629wrt.3.1680292771045; Fri, 31 Mar 2023 12:59:31 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:1dc:d1f:e44f:2a1d]) by smtp.gmail.com with ESMTPSA id c13-20020a5d4ccd000000b002cff0e213ddsm2990286wrt.14.2023.03.31.12.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 12:59:30 -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 0/5] arm64: qcom: sa8775p: add support for UFS Date: Fri, 31 Mar 2023 21:59:15 +0200 Message-Id: <20230331195920.582620-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761915454468768893?= X-GMAIL-MSGID: =?utf-8?q?1761915454468768893?= 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. Bartosz Golaszewski (5): dt-bindings: ufs: qcom: add compatible for sa8775p dt-bindings: phy: qmp-ufs: describe the UFS PHY for sa8775p phy: qualcomm: phy-qcom-qmp-ufs: add definitions for sa8775p arm64: dts: qcom: sa8775p: add UFS nodes arm64: dts: qcom: sa8775p-ride: enable UFS .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 34 ++++++++++-- .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 19 +++++++ arch/arm64/boot/dts/qcom/sa8775p.dtsi | 54 +++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 38 +++++++++++++ 5 files changed, 143 insertions(+), 4 deletions(-)