Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2274794rdb; Mon, 25 Dec 2023 04:03:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMRT/qjHi/sCkEZnZHOAzD2NfeHqZdmUXdUkq+BktmbstOa9MMG3N/rxYkaLBWe53VkPZq X-Received: by 2002:a17:90b:1d09:b0:28b:c02a:d0e2 with SMTP id on9-20020a17090b1d0900b0028bc02ad0e2mr6770891pjb.18.1703505825046; Mon, 25 Dec 2023 04:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703505825; cv=none; d=google.com; s=arc-20160816; b=oUqNCVeWDP7IMdZxL/9kXQ+fVZUMiKhcSY3NlcTop1bhPYBVKlRVmZ8iTdxOyTADA7 oceoLtv5ybcn2mbcIO3m21dd8tsafhAzfCBrN4jVaqEh2Lorwkn3TT7j8ScecBDQfH/R 9vcAnBxf63Mhi8knFg7h8pDcPPr9miRVXYqwSYQ5Qpy0PqPJwLYY1eFtbwtoWHn37Gi3 Xyhlg97VDTx5gkH/keIZJfRBV0UXSs+fZ1HMGelUNm07zfVNXlL4Q9pJXqjqtkanv8nV rbCQgYzdPeDivsVkRAbfDUsM6I8gXd2x/aVg0w5LB8RN7HcRZBAAJDn0f4TY41/ymGM0 KoFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=M9FH57aGkJw13IKFppWR0d0ExXBNDN8V4v9B+/Ni+Oo=; fh=AGZ5Vw0qEaW3wVLsEE3wTqQq44lrXtNlRZKxnh07KGg=; b=FkHK+o4y7w+s3CGjewGzRoP9zg4r0fqi9A6rpJzqZN+QgVHT3WwelQBV4NE1LJW/fJ Wc/von2EsacgYVvi7ObQ253KFGSf64kGVITD4UopN+A/98qM6fuNNjmC4uDhabxsL6hc h1hnzeSgAd4sPHu01eqM5M+NAspJQ0bGimuQDbZNcubN3xlYaJHejxGcx3+i+S5tCPJf 9yA5un+/kYZmrk7Fxxz4kCeU4SXq5WMz7KVEUFEmiDoEiDv3+Fcru8tUt3k5QFTeh8nI LIw51wn2B57mZYridBs4Zhf1z/OEkiWxtjRGIU2llwzvbw3aLyeHw5TT50iPhi6Coq2C cgdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jhdOYgJF; spf=pass (google.com: domain of linux-crypto+bounces-1020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ob18-20020a17090b391200b0028bf363c122si6998786pjb.153.2023.12.25.04.03.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jhdOYgJF; spf=pass (google.com: domain of linux-crypto+bounces-1020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B5749282024 for ; Mon, 25 Dec 2023 12:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9CD351C23; Mon, 25 Dec 2023 12:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jhdOYgJF" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 066CB5102F; Mon, 25 Dec 2023 12:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40d4d9d9b77so20855325e9.2; Mon, 25 Dec 2023 04:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505815; x=1704110615; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M9FH57aGkJw13IKFppWR0d0ExXBNDN8V4v9B+/Ni+Oo=; b=jhdOYgJFul0zsAMk/6d2TXC2T85GIcPOBnpTOnMq/k4Bo/9q3mx4xxUSqF1R05ovXk tA2+5W2HMdw9xjx3sqneqvl2eLai+WmLLtBAgSWdD2hH5QQriTPplFbyKQzDq0czwZel 2lCQVTGsP5dEi9AcXtVOvempYDiGRm/66Rdq62KAizcTVMRzvrTkf9imFTWdbVlBLFPj yKDg/f8+lLCyF+fHkdvooJB98C2gWm6cxt+pzFhReUtHmJqY/oyMl1lhs19wL+FLvckC fdpQ1ALd4w3B/yutQTElysEIB61JDGweLmfjXLnRrAjPnjhOEJDiu7FMwL8fvhEPPN1+ IBWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505815; x=1704110615; 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=M9FH57aGkJw13IKFppWR0d0ExXBNDN8V4v9B+/Ni+Oo=; b=E3/iCgiZ6gLHrBWLxcF8HW/tyQpxMFcaKRYYUT5ObpRhUVV9GThOoBAhyEWvN7TD6V i+D0Yp/dBx83nBfAD4gZeVZovCzHmRBig8D8BazS5FlCJEilk7pf0VHE7GgYvMnVxD4Y bPzsM9KKoSM1Vt03bahkHosx6YCcwCVkFOipJRemHXcsFADm1jWImKr+u5YNoecw3yCI 5NamBHkWqsoWxz6pHyzWZYJH5cNVcPo6jXFkb0sOBdviCAEX1azOx0VJQBxG5Gj54/gS tR+ZKj81koZU+7Lg72nXWcaWiORmp6w79P4ux5Z5gh7GmkDNJpO73EQoKpC2d0EsUjRn JlFQ== X-Gm-Message-State: AOJu0YzM1Z2PbpWKYq43kSzNPllpl77n3DtAvBr1i7e9UzQwm0f+oNlp FOyTP8HZqmnCN2Zv5A8nQgY= X-Received: by 2002:a05:600c:1c2a:b0:40c:5971:6162 with SMTP id j42-20020a05600c1c2a00b0040c59716162mr4046285wms.81.1703505814885; Mon, 25 Dec 2023 04:03:34 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:34 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v3 0/8] Add UFS support for SC7180/SM7125 Date: Mon, 25 Dec 2023 12:59:53 +0100 Message-ID: <20231225120327.166160-1-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patchset introduces UFS support for SC7180 and SM7125, as well as support for the Xiaomi Redmi Note 9S. Signed-off-by: David Wronek --- Changes in v3: - Use SM7150 UFS PHY compatible as a fallback - Fix dts style issues - Add regulator-allow-set-load and allowed-modes to UFS regulators Changes in v2: - Fix device tree binding for QMP PHY - Separate ICE into its own node - Fix style problems in sc7180.dtsi --- David Wronek (7): dt-bindings: crypto: ice: Document SC7180 inline crypto engine dt-bindings: ufs: qcom: Add SC7180 compatible string dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S phy: qcom: qmp-ufs: Add SC7180 support arm64: dts: qcom: sc7180: Add UFS nodes arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Joe Mason (1): arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S .../devicetree/bindings/arm/qcom.yaml | 1 + .../crypto/qcom,inline-crypto-engine.yaml | 1 + .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 + .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 +++++++++++++++++++ .../boot/dts/qcom/sm7125-xiaomi-common.dtsi | 28 ++++++++ .../boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 +++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 + 9 files changed, 124 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts -- 2.43.0