From patchwork Mon Jun 26 08:15:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 112766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7334587vqr; Mon, 26 Jun 2023 01:49:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ45nWZCjqCRfGKt+ejRbVFav0ieAmQAagf19EZsH41guGPEm9rLFEGn2MjcgotFjQJPYNPJ X-Received: by 2002:a05:6a21:6d86:b0:122:e4f:25c7 with SMTP id wl6-20020a056a216d8600b001220e4f25c7mr17941570pzb.31.1687769398754; Mon, 26 Jun 2023 01:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687769398; cv=none; d=google.com; s=arc-20160816; b=PBv5Y8Nxvyu56giHo3GoqYDW0df04/MsUlvkT1byDrqN4fBIhRsVQgR5lvdTKUMneD TYhhC+D7EdDysPeb5zmd+PJ5t18BdByYp/dMd7BWB0j+5FTDPropeNetySIdeGHuYz+s kDURoj5r0AVuxj8R0RUlJ36McdlnwZTbq5ZRb1HnUO1a2GlI5C0s7nxyq1H7mZt8AUi/ VO7ghF6X+6CHUOS8sAktVoL8x/+Jr9IhZKzcll1m+fb8lLVelwvtOaqo4Ruaa8tsoMJj fjs9O5CBwT4Tp2Mj+X+zLATraPeLv0Fmf1U5xIfO+oxUrlGommyYkjr5Il+eR19rVtY6 VkBQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a170902e28500b001b3cf975c75si4173996plc.222.2023.06.26.01.49.46; Mon, 26 Jun 2023 01:49:58 -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 S230272AbjFZIQe (ORCPT + 99 others); Mon, 26 Jun 2023 04:16:34 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769754484855819517?= X-GMAIL-MSGID: =?utf-8?q?1769754484855819517?= 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: