Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15831224rwd; Mon, 26 Jun 2023 01:48:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7hHoZ9s0T9ImdfOYLFYE9sX6sR8VZ1xc8Jw9nkb6O/Bx6wuLDw3q0/KT+AURO2ZV35tczz X-Received: by 2002:a17:903:2341:b0:1b6:b703:3703 with SMTP id c1-20020a170903234100b001b6b7033703mr3372260plh.37.1687769316659; Mon, 26 Jun 2023 01:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687769316; cv=none; d=google.com; s=arc-20160816; b=YZHA4NmZYG+tezSs9ahCqUT+CK2kc/C+UJEljB8cqElKBJ9oe/aRJQ31F/ZyO6nGOR lqGTerbIy6omsR4GzmBiVq7aVDspj1x535XK/bfNk4UsQixcl3MVY4dnD80zSvrKj+jY yt4e3VJocyAidiv7SbxqWIS9IlLdErXsKhGiwxULdp4260UuOX/9a644pUJKk10Yazc5 upNbl+RgGP4OrONcceOOF5H/zb929aKgzflb5tG0RRznHLPqYCQDZx0lfsPmhb2uR82C 0AlKUYsnABEYDNKqXix2+ndhKCjWFO1ZoFv/fBmJ5CzoHOdOK8e0YgKNKPUzHlOWIB/G hgVg== 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=au1yDGBbuG2KvGbbaHGSTXZWdfA4ztHMw3WrPNWrTzo=; fh=kM7Q2ZhGL38TdoplTvVcJR+RIq8cdbEefoYRQ41LhL4=; b=VnyTaXJtaVZ4YMWOh6KBtxiIRGorpQDnTrRUOsG9Z+QrpktZmv8Fo35DNaj1ED9f6u bTafZK1fW4HBWXAZpjVsfUgxqQBFEMPI1hKjwWl+EfNhoBVfrwGq/1JpHp8VGkgCqLBo GOi2lUyKnYyI5ZubGGbKgEdrUzTvqwDiAF5D6zSnyqVvqHLXIULzxw5aLu4WZvkhFuaX CGWbYZll+pfk5kvo7h94Rl2jFTkIslIFbSwXZQqvnSFp4WuPy5uwKvBSR3YO2xsfr1na bzhfpLrXVMBtkxYmaFEFHXv5xi/z6C3/rdXdgkbyy3ZpXsBrvdwCR6QJyP2O4Vrcfq/+ QvhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=ATmDKIVx; 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; 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 l12-20020a170903120c00b001b5427c9773si4754237plh.104.2023.06.26.01.48.23; Mon, 26 Jun 2023 01:48:36 -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=@fairphone.com header.s=fair header.b=ATmDKIVx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230268AbjFZIQd (ORCPT + 99 others); Mon, 26 Jun 2023 04:16:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbjFZIQQ (ORCPT ); Mon, 26 Jun 2023 04:16:16 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78417E76 for ; Mon, 26 Jun 2023 01:16:14 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-98df6bc0048so221049466b.1 for ; Mon, 26 Jun 2023 01:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1687767373; x=1690359373; 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=au1yDGBbuG2KvGbbaHGSTXZWdfA4ztHMw3WrPNWrTzo=; b=ATmDKIVxKZmu6V2OsJmS527ytHC3/nzhAbRym76yS1NeD0+Rl11EaV+HO0ewbaZALG MEJl2a0KoLifFgC61un/CxkkQyWvbMVcigawRXi/j2CSev3MQoJAzLlL4Yavs9uZchum Wdfd9Nv0pP8+vFSK18PQ64Hq5Y5ovz61Nfo5CZGSvpiSelBdOeBJfPDPHlZWro/J1rFi qCC405LjI0EUPZGqRDMVXJfPjjd0/VQ2oP+EfJoDCIgXdlsymOccP3j2CTO9tvI80kyd yyQECLszW3UYtIIMGNfuhhmInfYL/0ty9f1fQ7+SLUEp9T9KVJQiSkk2TTRvfY+Rbv3k twhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687767373; x=1690359373; 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=au1yDGBbuG2KvGbbaHGSTXZWdfA4ztHMw3WrPNWrTzo=; b=Nr5ECqYJd+twnnm33EjOUysZwWKqLYFMcYoN4XoxqbOo4TiR6ZEG+Cdu9/HUWNAWSF Wqyj5gjdgdaXqpSGzZy+nIQUtCpcfZgygpVmIAByaCn3ofMv8fkps87S0seDS+vAeWzP UJOvXiYNQl7N0Bu4Eo/JBW9Zj7cdY1rWOBBlpaSurJlzT8Zl+p3cJoCmKXc6SBVuBoLB DOqbcPyQCyHCWRVDDe/InS7p4GJEvlws8k7AZaeBqS8Fhel0NPf7iKHt4JJwctpQN3kV 77jU92gSBryCEMHhY+gUKqUkfElx7MQvGrvtVdWT9xmKtTBMODfOiOs+I+rfmfe+YfzS 0qUA== X-Gm-Message-State: AC+VfDwRG4M/tb0+9E9Kp1r0//NLT+sErP3qoTTCIf4719hMJKsSdD3p zyX+BAkjoE5+1EOCu3Iu7v4Fvw== X-Received: by 2002:a17:907:2d20:b0:991:de8e:4f91 with SMTP id gs32-20020a1709072d2000b00991de8e4f91mr734446ejc.11.1687767372890; Mon, 26 Jun 2023 01:16:12 -0700 (PDT) Received: from [172.16.240.113] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id bm4-20020a170906c04400b0094f07545d40sm2935617ejb.220.2023.06.26.01.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 01:16:12 -0700 (PDT) From: Luca Weiss Date: Mon, 26 Jun 2023 10:15:57 +0200 Subject: [PATCH v4 1/3] dt-bindings: ufs: qcom: Add sm6115 binding MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20221209-dt-binding-ufs-v4-1-14ced60f3d1b@fairphone.com> References: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@fairphone.com> In-Reply-To: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@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 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, Luca Weiss , Krzysztof Kozlowski , Bhupesh Sharma , Eric Biggers , Iskren Chernev X-Mailer: b4 0.12.2 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index bdfa86a0cc98..eb3de2fde6b0 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 @@ -191,6 +192,31 @@ allOf: minItems: 1 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 + # TODO: define clock bindings for qcom,msm8994-ufshc - if: -- 2.41.0