Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2479243rdg; Mon, 14 Aug 2023 04:06:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWOh6i/ZjQOeVGisYfdqLooxB83QOLQe9wsJhHkF6g5FYl8poBzh0zZHxJmLA78jeJR8xN X-Received: by 2002:a17:907:2be3:b0:974:771e:6bf0 with SMTP id gv35-20020a1709072be300b00974771e6bf0mr7950552ejc.56.1692011214498; Mon, 14 Aug 2023 04:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692011214; cv=none; d=google.com; s=arc-20160816; b=O5TPN3McvZfMeePTtsOMh6O//xKqzOBhyOJY3FMpCHFCQU934ydvqQf+IHPG1s5nea fQo0pUQwKRDNfYTyRXRZPCc9fRiyGSofZapJmRS3nhoPjI8E6JJdl4cSNJrJFpFL3TOy +tZ9rBG5+eWKtXVmCUXJS/QoxsH21/TiuYZ6guqYFLnZ5e/gjaMQBx0rdiP4q0jbDuEf DcTdSXshIVBgz1aV5Ju5BaVmP2Ej3JvssE1ldAC1IJH41esiZ+V5dWFL7b1/dfAvQXoa qlrjp/SsC4Fe1ey8gWNyRy8j6W6/u5eT4XPtrf6tft/iOuL5IYGkrkrpoMmjZbJEDW9/ VrRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=M8oO/PwgsW79kOUbldrma34w+xKKDHQ32lW8yb4A9TU=; fh=4uJizkA5G+brwyoJRhNpTs5LSZEd9+pLWfXNmei+GWY=; b=Y6NPOQPHZN1Za+fctkYaQlwyyPKk3IVZCdKsBo0TjE0PwvPowr/E/uu+eQiMK3a7wD m4OU0E6J1m+dx9zZEUxF7/VX88AE3n7sdkJsMKqcdWZm3vwghi+to+zOLD1cjgnSWvrF LUlqybowLOPpNtgEu26qOFCMKK1s5DR+5uG5aj8t9XNPzxccRa8LJGPYMdm5SXP/Tz+1 7191fpYGtedfZ49+QCkvmKP9D2aTDgqnRCbNoO3XP1f8SROndoAeMDXmO1wYCwPNnIKj vWQAyFY7trzNDOtSz69vgSyA71Pc6QnJc/VhLowqgL07MXn9Nxy+CKZ6uKxiIwoyCzhp yyFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=xTyyDV4b; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me23-20020a170906aed700b00992a096678fsi7681541ejb.813.2023.08.14.04.06.29; Mon, 14 Aug 2023 04:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@fairphone.com header.s=fair header.b=xTyyDV4b; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236241AbjHNKOm (ORCPT + 99 others); Mon, 14 Aug 2023 06:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236625AbjHNKOY (ORCPT ); Mon, 14 Aug 2023 06:14:24 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3BC10CE for ; Mon, 14 Aug 2023 03:14:23 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9923833737eso548271966b.3 for ; Mon, 14 Aug 2023 03:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1692008062; x=1692612862; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=M8oO/PwgsW79kOUbldrma34w+xKKDHQ32lW8yb4A9TU=; b=xTyyDV4bqm7A76/QoUoulaPJJxQ/9mx2vWKTZgbgYy16q39AQmya0IeogAfYfDPsvB 4jwmq16zkvVhmqMXMZvPFNKBlkT6sVrETGpwdkhmukLgp+RW8qSRIGp+jiINrupjri6Q d9SC6OgyXmWcyIiVXdCnxCLV9s84IcIQcS8qRtPfzjDXSR2uuS8TP8dvnD51ZYjBCK1T VKtumtkYqThr0PA8UqhUllBTF/Ju7p/63jBaT5CpgrTggvAAkOSCWdZxg/ynvVeILgJt l5VbmWeMpQa9h263jOJTDz2MLe8hUziqYKernZMqM6XBZS//EZghP4MlQqIhv7x/CBZj Glaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692008062; x=1692612862; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M8oO/PwgsW79kOUbldrma34w+xKKDHQ32lW8yb4A9TU=; b=b7ro1axjfc9semlj9jDLPYnhMxNlW4n4jfzDRraB5+JECMDEAqFLxUBTWlfAUwwR0f V2XeqES7sqlzwrT9w0zm+Tc259qWnt9fNZKFo2+fHvFLFTB8Wfeq2s3cAKcTAVi48mLy UaqDxfOF64zpQpSeaCo5IEDtrKnc1L9RUc92ogJPK2kvPQ6LqyVG6VO1lF8Ysmq7gfkJ xzfQlGlAxaI1PqYC8mC1A9x4OJnCoHm6YNuwBpWe9wtLMgZjBOxFDE1HAJmY/0Hw1wzR 30fo1T4s93mVjdHVwX+Ox5AhC4V4VF0lpvXJE43eYPNlF1ClO01pbV39p3/DHzomK69h Cwrw== X-Gm-Message-State: AOJu0YytF4Cou9aXCrbTKUpkBtr+SM6YgZAL1/JmfbQT5mBwiC7lCNza 2x4flBkEJqeN9s6Jm5U9AEzGgA== X-Received: by 2002:a17:906:5307:b0:98f:c9b:24ed with SMTP id h7-20020a170906530700b0098f0c9b24edmr8108333ejo.67.1692008061827; Mon, 14 Aug 2023 03:14:21 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (212095005216.public.telering.at. [212.95.5.216]) by smtp.gmail.com with ESMTPSA id os5-20020a170906af6500b00993a37aebc5sm5472870ejb.50.2023.08.14.03.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 03:14:21 -0700 (PDT) From: Luca Weiss Date: Mon, 14 Aug 2023 12:14:14 +0200 Subject: [PATCH v6 2/4] dt-bindings: ufs: qcom: Add sm6115 binding MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230814-dt-binding-ufs-v6-2-fd94845adeda@fairphone.com> References: <20230814-dt-binding-ufs-v6-0-fd94845adeda@fairphone.com> In-Reply-To: <20230814-dt-binding-ufs-v6-0-fd94845adeda@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Iskren Chernev , Manivannan Sadhasivam , Conor Dooley , Herbert Xu , "David S. Miller" , "Martin K. Petersen" Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-crypto@vger.kernel.org, Luca Weiss , Krzysztof Kozlowski , Bhupesh Sharma , Eric Biggers , Iskren Chernev X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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-crypto@vger.kernel.org From: Iskren Chernev Add SM6115 UFS to DT schema. Signed-off-by: Iskren Chernev Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bhupesh Sharma Reviewed-by: Eric Biggers Reviewed-by: Iskren Chernev Signed-off-by: Luca Weiss --- .../devicetree/bindings/ufs/qcom,ufs.yaml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 4cc3f8f03b33..2b0831622cf0 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -29,6 +29,7 @@ properties: - qcom,sa8775p-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc + - qcom,sm6115-ufshc - qcom,sm6350-ufshc - qcom,sm8150-ufshc - qcom,sm8250-ufshc @@ -204,6 +205,35 @@ allOf: reg-names: maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - qcom,sm6115-ufshc + then: + properties: + clocks: + minItems: 8 + maxItems: 8 + clock-names: + items: + - const: core_clk + - const: bus_aggr_clk + - const: iface_clk + - const: core_clk_unipro + - const: ref_clk + - const: tx_lane0_sync_clk + - const: rx_lane0_sync_clk + - const: ice_core_clk + reg: + minItems: 2 + maxItems: 2 + reg-names: + minItems: 2 + required: + - reg-names + # TODO: define clock bindings for qcom,msm8994-ufshc - if: -- 2.41.0