Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2307877pxp; Mon, 21 Mar 2022 16:30:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeVvbcZFQ1gbak0dZxRU9KEsNIAQZp/YkDC5v7j350vhiEGfe8rGlPWKfBT6AVpZylmNVZ X-Received: by 2002:a17:902:da91:b0:153:cc84:f13f with SMTP id j17-20020a170902da9100b00153cc84f13fmr15168469plx.38.1647905448858; Mon, 21 Mar 2022 16:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647905448; cv=none; d=google.com; s=arc-20160816; b=CWwSKFSgEukReVw8y1CXlFlrEZAOdzURhjiYNAICO+MyoFSGC6DBFdRpe3G4R5msuy WZxHljJuXTujwF+T+pl/2oSgtwdxABRghvNbKXmBDzoTU38XTGX9E5kVJ5eS6QkOvmiy A5WPx8XWHBH3BD9ZPox7A/gKIsy7Kw2fajX5SjeUcRczTjGMm8Ncr9CoXAa7cyzDTdRU mBNppjSmnexKQMJVwA5IUBJ85sgdhy5WCkKObLxXCwgTrsP7R5KIdmb0uJg4tT0TEOOe tOjElsHIoM9u64bnMsgFSeJNunSxO5VQm3zRMmIaWcUlUkzBwkaBmTf4rxCQSWYHIzCu oKPg== 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=5GXEdYy1flkYD5H4ZjwtkKaTgHfQbeK4Fic81sbDM2g=; b=EpNP3urZ4jGzJmTqAZnL6p/ncKCdUo6evHkVrh/DH1YrIUQwK2GoqGtJ9QG4NMl6zw 5Q0AAhlMpWpXpAt4o3tEZ7YvMrhOtgx5KOtwGQMm3ADtL0v8Sse55nRBY6YmTvcr7UCH YX4qBDLrKOLaiQChOy6PCqz0Dqz0eFJGO1YsK+MJEqSk16yugjJf6UkJ/cIfXN3bB7BC QSze8KyFe1X+pynN++OYGVKJh69gGT1Pw75yQh39ipKATVRzn5p9BKQhcYjM0uYqat0S ulqOYUBAjGEldTdM1R3mWSura046vSJPijcNZYV4jTHTpdihXBH47Qucn6gjECHHvh+g cD/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=U93LM0PP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v9-20020a63b949000000b0038182147333si16518153pgo.26.2022.03.21.16.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=U93LM0PP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3EDA246F463; Mon, 21 Mar 2022 15:21:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347905AbiCUNfS (ORCPT + 99 others); Mon, 21 Mar 2022 09:35:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346338AbiCUNfQ (ORCPT ); Mon, 21 Mar 2022 09:35:16 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F32373C4B7 for ; Mon, 21 Mar 2022 06:33:50 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id pv16so29948728ejb.0 for ; Mon, 21 Mar 2022 06:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5GXEdYy1flkYD5H4ZjwtkKaTgHfQbeK4Fic81sbDM2g=; b=U93LM0PPjvVS1NMUtHanmhanW3zHZ770C883frfTHWmu1t88XsHFJ/SEtXT6n/lMMt re6IfjnHppIOC4ngM2HuHaGjJrVDx1YujqZCFxpIUF2EIr6QHsr5IefXFV395iZgIMOT YuYCc2UNxihTIk8dpTKJtRls/VJrqYoN1jm955IKVdCwcvVQ+uiKrlwX48B4hZGHMmid 5Oef/sbbEqSkxUG0zUMPUlutcFL1zpajN67vtPokaziudtmOagUAm3oL2tXePRIA0CeQ UA3IVj6jtKwNiGl1XBj0ttF0J0RkHEkR0FKdlhmOkz/f0ksZyjranNksDpQ10DtlkOgK b0dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5GXEdYy1flkYD5H4ZjwtkKaTgHfQbeK4Fic81sbDM2g=; b=43mx+XkZgX8UKXq07Otj9htxzlp9IOcR0KVM3W6aCx0qGWYWAm9XqOHJgWvt6r/Lup cNzymGvrShbfu+1tlbEow0iHtJVuXpKemY7TPKNVX6T+l9JMiO4KSg3/txzKP3r/Yl25 cjnBujRHEeoqqu2y2KvTVr93hg1m257GUZk8lt108LsCqEYRw7IdeQbZ0cGR4V3hMOuS prEzs6B4rrnAyXI5D7l7dGiCdKKZsesC3/wPq7l0dlf7JJy1TmQFaqa7Ry7FKA4bxGKy 92ig7U4B/svY2DDjgWingTj3PQTOQwP4BUYbCFyQvU5a2FtcuCRJS8CoGCuC3J066J0E /A9g== X-Gm-Message-State: AOAM533Z5JJC6OYwwg5uD4tQCTlIR6SP5CozEj/Ckj1zaq4E51QudMML e7fGGfp1qbw2x8nQWNMMxG03Xg== X-Received: by 2002:a17:907:3f92:b0:6e0:2fed:968a with SMTP id hr18-20020a1709073f9200b006e02fed968amr1743024ejc.658.1647869629410; Mon, 21 Mar 2022 06:33:49 -0700 (PDT) Received: from otso.arnhem.chello.nl (a246182.upc-a.chello.nl. [62.163.246.182]) by smtp.gmail.com with ESMTPSA id r22-20020a17090638d600b006d584aaa9c9sm6862154ejd.133.2022.03.21.06.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 06:33:48 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Alim Akhtar , Andy Gross , AngeloGioacchino Del Regno , Avri Altman , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, Vinod Koul Subject: [PATCH v2 0/6] UFS support on SM6350 & FP4 Date: Mon, 21 Mar 2022 14:33:12 +0100 Message-Id: <20220321133318.99406-1-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This series adds support for UFS on SM6350 which is used for internal storage. Changes in v2: - see individual patches Luca Weiss (6): scsi: ufs: dt-bindings: Add SM6350 compatible string dt-bindings: phy: qcom,qmp: Add SM6350 UFS PHY bindings phy: qcom-qmp: Add SM6350 UFS PHY support pinctrl: qcom: sm6350: fix order of UFS & SDC pins arm64: dts: qcom: sm6350: Add UFS nodes arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFS .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 + .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 77 +++++++++++++++++++ .../boot/dts/qcom/sm7225-fairphone-fp4.dts | 18 +++++ drivers/phy/qualcomm/phy-qcom-qmp.c | 3 + drivers/pinctrl/qcom/pinctrl-sm6350.c | 16 ++-- 6 files changed, 110 insertions(+), 8 deletions(-) -- 2.35.1