Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp64446lfe; Fri, 15 Apr 2022 19:43:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws27SOX4GQ4JWWwtTkH5Id5cu0jwk1aMqYeevD+iL/LCxqbVpdzHomn0mgMmY+fVMcWQOK X-Received: by 2002:a17:902:b193:b0:158:c040:5cf8 with SMTP id s19-20020a170902b19300b00158c0405cf8mr1857553plr.146.1650076991014; Fri, 15 Apr 2022 19:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076991; cv=none; d=google.com; s=arc-20160816; b=B1iBn2i+xSzdcxnuNAx0X24mluq4hrMNKwF5REmKCU/ho0LuQzb5eNzSfpq7ntVlX0 0uMYgpzVLTxZ9nEMswILfT88iVYbRCB3dTVt/PSSe43eF2pFqy+qmNhPebriwHLQZlAJ 9U76XMbwnHC6g2CDGu7Y4JQcL/NbBa03mR8diIimn17Z1geI/MnjCDYl7RHzTBM9vIZ+ HmExFoMjn4fEh4BxDk8e7LVXXl935m3p1J/Xe9nMnRkAX9ZRxhNqPRcR4wgKPFZWQRKL ZktpeHcvt+iEemHqFUSXf/qGgEOTJPVWQl3czKE/tSVkoGwr6FDxYmEZO+IAf2Xs3iWj idPg== 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=gq0WGrwCFa0DH2fCvNOkSonNeptkGtqY34LwdIN3LF0=; b=0sq2aQ2iF3lnQyveduKJMBwlHBoKgAvL/BOLsYHsGRe8gkVo+HpTEzliyhaAf3tERk sQAOT3SGjQmP4CRAJOOz8DYN7yvLaVTuqQL+0gz9iE2xmKIBT6m1qWKmMBg2I8RRdMGi jhVoTLe+l+0Zm3zy7jbZ2l2RKEvoQtUEzwt90bcI3EKd7WTdCcS9asVyVXjYw9cknBLX 5eOVwwMY1bx1w+VAtxIUnDuv9aiB6ccfaIqWPVvwunQrHnCzGLQuFMgsyFcXnaXfBp29 whMBeWrzZFaJ3ntTp9UjuAyyhit/sWB0s+JLzt+t4GpPuMplTwmxnpICuDM1yNf427CD EQAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=I6rFcA21; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 6-20020a630a06000000b003816043ee11si3640013pgk.6.2022.04.15.19.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:43:11 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=I6rFcA21; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D02F192581; Fri, 15 Apr 2022 18:50:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356046AbiDORCs (ORCPT + 99 others); Fri, 15 Apr 2022 13:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356047AbiDORCq (ORCPT ); Fri, 15 Apr 2022 13:02:46 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9A2053E31 for ; Fri, 15 Apr 2022 10:00:15 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id o20-20020a05600c511400b0038ebbbb2ad8so5382045wms.0 for ; Fri, 15 Apr 2022 10:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gq0WGrwCFa0DH2fCvNOkSonNeptkGtqY34LwdIN3LF0=; b=I6rFcA21cGHuPTs2RY2P37BAl0LZBd8+WMQzCzxJXVFUKbRMy7ncw42qJXS2bQCxdF bdbFwVu6n2Ns6/wkqblBtVEFUZYKzjtiWgSz1T2aSBvGRBa96d5jm/Y7koIUgKqWToxL TBMwIYiv+x7PSkmSlR8ytbDsY5mzC7pY6WIB8KBSBoSXUeS6VhNScGDognj48gg+Fjjz qwRoeYMejvdOMD+q8hJsaDowApxmZhenSTfcTNe2dUKxEkOlbiHJ6SCl+IX0520CVuq9 rfNRCedszqfnhFyvKRVyFN1ab4/c1B9YXO8W7uWH6Y7WpQw3NsLcf6zIW+/vur77qZiX 6xEw== 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=gq0WGrwCFa0DH2fCvNOkSonNeptkGtqY34LwdIN3LF0=; b=mH0rWJVme9KCEWJn+0DQlBbPQDHxigPCGcSZ5XHemY8GNh+pRR9vWBblA1Rfn/r4o1 zFD6eulTlubiKugPkvZqGdq/YVu+st4bkKCmyx06TpmTcyi26bCoN1YsnJWYtW7q/bup E2CiImaSbEF7R4Yt6tY/duhb1aBSFvKInH83bBngNFERpYf6rmq6rwVG1hbsqiKewOlD rpX3HwEz0fFxZoZdt00FNPyOlGArEtbKvQLfAOY5NMUPwKNTfZaqoTUgH9hqmmBvJrm6 F84nohyiN6nZ0aJl1zlQqkLqJeBrRj8ddjt0BRO+nkP9wQCQcaJixrUtPSMNYGpipjvO iV3g== X-Gm-Message-State: AOAM53342I5J2K0z31iypUG7pR+4JelJ3CYE75zJ7IXYKITTc8lAuNs1 0rg9s0EjWO5aFc0gZUVfMoeFGg== X-Received: by 2002:a05:600c:1548:b0:38c:ef05:4cdd with SMTP id f8-20020a05600c154800b0038cef054cddmr4090179wmg.71.1650042014517; Fri, 15 Apr 2022 10:00:14 -0700 (PDT) Received: from radium.lan ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id i127-20020a1c3b85000000b00391a363f5adsm2119704wma.36.2022.04.15.10.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 10:00:14 -0700 (PDT) From: Fabien Parent To: Alim Akhtar , Avri Altman , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Stanley Chu Cc: Fabien Parent , linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: ufs: mediatek,ufs: add compatible for MT8195 SoC Date: Fri, 15 Apr 2022 18:59:38 +0200 Message-Id: <20220415165939.1861470-1-fparent@baylibre.com> X-Mailer: git-send-email 2.35.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Add bindings for the MT8195 UFS support. The MT8195 SoC requires more clocks to be enabled compared to MT8183 and MT8192. Document the clocks required for MT8195. Signed-off-by: Fabien Parent --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 32fd535a514a..5ed36e95e933 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -14,16 +14,31 @@ allOf: properties: compatible: - enum: - - mediatek,mt8183-ufshci - - mediatek,mt8192-ufshci + oneOf: + - enum: + - mediatek,mt8183-ufshci + - mediatek,mt8192-ufshci + - items: + - const: mediatek,mt8195-ufshci + - const: mediatek,mt8183-ufshci clocks: - maxItems: 1 + minItems: 1 + maxItems: 8 clock-names: - items: - - const: ufs + oneOf: + - items: + - const: ufs + - items: + - const: ufs + - const: ufs_aes + - const: ufs_tick + - const: unipro_sysclk + - const: unipro_tick + - const: unipro_mp_bclk + - const: ufs_tx_symbol + - const: ufs_mem_sub phys: maxItems: 1 -- 2.35.2