From patchwork Fri Apr 7 09:13:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 671259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C751C76196 for ; Fri, 7 Apr 2023 09:14:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240342AbjDGJOI (ORCPT ); Fri, 7 Apr 2023 05:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235839AbjDGJOH (ORCPT ); Fri, 7 Apr 2023 05:14:07 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5CC57A83 for ; Fri, 7 Apr 2023 02:14:05 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id y14so41844145wrq.4 for ; Fri, 07 Apr 2023 02:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680858844; x=1683450844; 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=7wuqJ3NJSgCZO0KTwOialPWQBgLhEbjc4bx2H+jW2qg=; b=HNuTTSYZbOUQAPBqHTfl7H0KFLeNCmBSAlxUlubupMhOHWwNQX7gFMQvX2qd+/g6Br Q8B2M9kpRg4kTYh0DpI408C8L+TLkj5J5eR7cNmIEninDkXt0vocGH1skpHpoa2seyqk Et6CPDUgY/OCG6gnfzrLD5Pd/lPKPqA2oMZAXeOf88P8xIvE9iWlwoo4HceMpDfMOina wElzOKii4Tw20GzTYGASf+eYnIAfjJQtU62qIlRuqkfmJCihiY+dur3rNbgD8hEZKX+I /k/MnCjIkLOpvbWLB8wtijx/K6jOQAPKGHL8qImw7PzXzwIqQeFfqObuehrh/ebLxWUR 1tbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680858844; x=1683450844; 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=7wuqJ3NJSgCZO0KTwOialPWQBgLhEbjc4bx2H+jW2qg=; b=aimU/SdiS6kV0iKWrk5jNwW33aOPiJMKvr1FiHw34y+21G5YYD8VPWvozCHKf/2CUl p9Rsbeco7MCQ/iCWSlnCs8U74fS3QzKVRMYKKqwCtGArNtHGTwHulBVcASNhei1h9s5K n5uwRtKYEMGo1uymAPyVDPh/v+2C2yPUFkwUzBIUqBGRj2/Vqkd/4X3JZErW7bZIKmHI IU/bleB7V/0sM1CEhAqv4gzG18CxzQHHPP8i+UrT7XmGZilS1oG67Uf8b1XHRXUZIbFv RUt6sEJrCkLFh9jS3jPAGBezWQ2EIDLiLBcY/y2Tupqir9rFHluchZ+EP+EAUJM63tow uqKw== X-Gm-Message-State: AAQBX9eI2NoFvIGaarSIapoW0H33h6B9ow0lvLG/D6O7IIcBuPZVPcJx pA36ipe/Dq6h9u/aMEbT05OnQg== X-Google-Smtp-Source: AKy350bxY50SgH2Hy5SgJ/V3cCDFecii0IL92XTMoom6qTEgvwZttd/LLHHjmQUF/RXNh0HfefYpNQ== X-Received: by 2002:adf:e643:0:b0:2ef:b32d:f54a with SMTP id b3-20020adfe643000000b002efb32df54amr523144wrn.33.1680858844242; Fri, 07 Apr 2023 02:14:04 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id k22-20020a7bc416000000b003f04f0c5a6fsm4026429wmi.26.2023.04.07.02.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 02:14:03 -0700 (PDT) From: Alexandre Mergnat Date: Fri, 07 Apr 2023 11:13:51 +0200 Subject: [PATCH v2 1/3] memory: mtk-smi: mt8365: Add SMI Support MIME-Version: 1.0 Message-Id: <20230407-smi-driver-v2-1-8da6683cdb5c@baylibre.com> References: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> In-Reply-To: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> To: Yong Wu , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1341; i=amergnat@baylibre.com; h=from:subject:message-id; bh=WjdOKn4CNCGCL7Lz1uy2ciMySKdsHm1qKtgJMaQs14k=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkL97ZvbpRspLALhiKU8/NiiqCdZPzY7s3KtdRLwlQ I+nMncuJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZC/e2QAKCRArRkmdfjHURfqiD/ wIWom0hIvuKv5lKnL+jKLiTqW2HHBKLSlyk7G0nOr7xQbxRn3IA2QhwbhG0ngNdq86GffH/W0Pwlwy 8pXHY3lFHRZZe/GATtihD8WF9UGfngW2YxmzkR8/AYErq1JESIJHvW4pvDVEGUJQY3nAJ0A9I5hUCu llhZ2oQKp/eUYB2I35n5iEJMZbIVChJulAHMpfTrOsEoJHf9DMD+ZUsozwyASoPxUDkqNbgnjsvlxp +yN21T8U3N4YA7z7Li9DRTkdFzh+jNtM1tACIR7qdqJeH7WDWXIY7IaRmhBF1EdLUmNN8ZB9MWjO7p OoWSCwwwm8iZ2240G+ggOjOBI0yt6BbGaSNqjF3bQrUdGVKbSdUDRG5MauEkhDHq44eVn0cxjdpUL+ Z1qEQSbvML7lf6yGj4sMv6ztJKwFoslR1lEnAkjSLj6AgUaILci8Vyrj0eWZf9ZclOvzb07W5mv3/B U9O454Cf4uW89JcAOJNJzjo/w2a8NuJ6IqYESeWJsTBRKrJUlwszlT1XCkyqNdqzfgcyhso9jjzf0X oRtUUXRpHPP5RfIQ385xYAXAh5cvpt8iNgoncHY96XPn/i0gvXRZvW1ojdq6I0v1yS9vGeB/+YSUoK KuKQNa8zyDNK2EF/q24OQN2FCSA+U3xp17auk1jhvVhFX8al+l+ukXLJNNhw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add MT8365 SMI common support. Reviewed-by: Yong Wu Signed-off-by: Alexandre Mergnat --- drivers/memory/mtk-smi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c index 5a9754442bc7..6523cb510518 100644 --- a/drivers/memory/mtk-smi.c +++ b/drivers/memory/mtk-smi.c @@ -713,6 +713,11 @@ static const struct mtk_smi_common_plat mtk_smi_sub_common_mt8195 = { .has_gals = true, }; +static const struct mtk_smi_common_plat mtk_smi_common_mt8365 = { + .type = MTK_SMI_GEN2, + .bus_sel = F_MMU1_LARB(2) | F_MMU1_LARB(4), +}; + static const struct of_device_id mtk_smi_common_of_ids[] = { {.compatible = "mediatek,mt2701-smi-common", .data = &mtk_smi_common_gen1}, {.compatible = "mediatek,mt2712-smi-common", .data = &mtk_smi_common_gen2}, @@ -728,6 +733,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = { {.compatible = "mediatek,mt8195-smi-common-vdo", .data = &mtk_smi_common_mt8195_vdo}, {.compatible = "mediatek,mt8195-smi-common-vpp", .data = &mtk_smi_common_mt8195_vpp}, {.compatible = "mediatek,mt8195-smi-sub-common", .data = &mtk_smi_sub_common_mt8195}, + {.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365}, {} }; From patchwork Fri Apr 7 09:13:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 671806 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39527C6FD1D for ; Fri, 7 Apr 2023 09:14:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240492AbjDGJOJ (ORCPT ); Fri, 7 Apr 2023 05:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240283AbjDGJOI (ORCPT ); Fri, 7 Apr 2023 05:14:08 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFBCA83FB for ; Fri, 7 Apr 2023 02:14:06 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id m8so12830829wmq.5 for ; Fri, 07 Apr 2023 02:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680858845; x=1683450845; 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=yJjfak4UG2kt7LD+AoFzMT7Gsf1sr+ZsaQfW8YlBLvI=; b=OajeO3O/qXkxLZpoot1SLLIdYXgjV4BiDAPRlXxnMUldzeW+b3H4YrsRw/xCLsZUEl LROCs5z2IY1AyERqEUT7Maqm3o/ajKCprSieO9pWzSMTnLXoejiI+DplNq7hdgdjOB4Q CxXyr0M80n8tpJ7ZyraoX7qqqD7q58C+Ej1xjeKJ1QqeqLuhpf3CoG/1JyL3b/NBCse0 nuwaZywuBzg17T2/Whx/sHQ4DApT6fOJl/2l3wKyo6ecUtLD24D3zmHUOl191RngKY6p UzopT/Ky+wYfCLK310bSQ9pdOJdU5eqycfsBA9TmVeGdfAhYhWT85XGyxCtAH5YwO8Ia Fmew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680858845; x=1683450845; 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=yJjfak4UG2kt7LD+AoFzMT7Gsf1sr+ZsaQfW8YlBLvI=; b=dOAMVbizybwS4e3rtTRupeF5ovQ2pQs8wdurcxuQSnjeSxpNbmFDLAF5CeScz9qaAP 7Bcc3joBAAyytwd7grvi9EuwWIC8lC11PeDg2FjarwOD+pPdZEwAsj/DddUlX+xF7Xrq OUm+AhDShXRYXbDyrKQu6rUmsngsbTsBtQAr58/GaszPeMPSKC8mlu4ef/KUUvUbqfYJ GOADkxhahC4T9cOvu4WJxz8fNAcQpzfUShBXJJ0kvuo+RXajjh7QSNF1pYJTy7OsHek6 zAVQofCec9twkMgasHP2QuRXsabXzekZpGf0z+RlRlefs4FJDmUoYM9TZKnoyeViSd66 Rv1Q== X-Gm-Message-State: AAQBX9dL1J1ANvkQxxGJWlMJr2gj5f7zf9BbzHQWDhBV8zLTEv6Ud+8k du+1O2n4lSNU4wBwzzWRCur4Yw== X-Google-Smtp-Source: AKy350YRyyblA2ED1NB7dgg4zlXhQ/NwohrnxiB+9oAsMQm2YpP5CEal0pHG1lm2ErKnHopqrmnnVA== X-Received: by 2002:a7b:c00c:0:b0:3f0:3d47:2cbe with SMTP id c12-20020a7bc00c000000b003f03d472cbemr829714wmb.10.1680858845224; Fri, 07 Apr 2023 02:14:05 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id k22-20020a7bc416000000b003f04f0c5a6fsm4026429wmi.26.2023.04.07.02.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 02:14:04 -0700 (PDT) From: Alexandre Mergnat Date: Fri, 07 Apr 2023 11:13:52 +0200 Subject: [PATCH v2 2/3] dt-bindings: memory-controllers: mediatek,smi-common: add mt8365 MIME-Version: 1.0 Message-Id: <20230407-smi-driver-v2-2-8da6683cdb5c@baylibre.com> References: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> In-Reply-To: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> To: Yong Wu , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1196; i=amergnat@baylibre.com; h=from:subject:message-id; bh=vTUD/c9kbSLzmx+cLlLgYeDYjimwFLetURuSQCdLVkc=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkL97ZTwWW1lBNlbsl6zFLUXT27WoZqxh+yur5qJw0 7/uB5feJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZC/e2QAKCRArRkmdfjHURXeHD/ 4jwJ2NkMaaZkG4IPOWz9qEdPzHJectYFYU41nxo17Hmcufv89qEjOxLUpJ9G7UZ15QjdvkdqyNkV7e qOCjFiG9cwtUfyeoo5A9PEydCtRhOS4W+hmKks0UaMRQyXIXFCcG6j7IOnbmNgQ9+JQr/aurfrsCT8 T43u6aNNSg0yB+DvFpmxsXkzkMbUFaxk6d5gWfMXOrqwNnxUK/SQiCeamM2yBrTQrhONG6TVFjONtW crV7NQXnIzCabu9QdykM7hxW7YTxhFAouZMtys7ZuZ9/Im9ZY9J1jGea1gu/YgouYB222VVxrc/vza e983I/+wub1e3fZmzfWrPRwb3E3ttj9teoVJo1SDVv85gazMCKqfouA3S2k3KYuSs55s2ByiPhKp/Z RE5wtY/V4Rfs/CjXfodePtSoUzr9NQYSxR8Z9cM9P5Mb+OWYZpldKSkOf1wBzJt105p9zxf+DaLUM1 qqlWVgKu5UL2RwboCTznrfXsufgvYTLsGKdu6Ze4VKEs4B52zKNHvirTh0aBcJgxlsQ7Bwmw1FvpAv tknrTYi1A+fH6hIvmk7alYqLMsEGSHI+aElFiNMkgHUlgv3nP6dpbMQFKZbsV6f5DSiL6vVKzM/nwW o7Xri3hB7zVWSoPT9MD/UzJ28MIjVq/FSVx24xhAwIgJtN72eu+gq2mJH+AA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding description for mediatek,mt8365-smi-common Reviewed-by: Matthias Brugger Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/memory-controllers/mediatek,smi-common.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml index a8fda30cccbb..2f36ac23604c 100644 --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml @@ -43,6 +43,7 @@ properties: - mediatek,mt8195-smi-common-vdo - mediatek,mt8195-smi-common-vpp - mediatek,mt8195-smi-sub-common + - mediatek,mt8365-smi-common - description: for mt7623 items: @@ -133,6 +134,7 @@ allOf: - mediatek,mt8192-smi-common - mediatek,mt8195-smi-common-vdo - mediatek,mt8195-smi-common-vpp + - mediatek,mt8365-smi-common then: properties: From patchwork Fri Apr 7 09:13:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 671258 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 702DBC76196 for ; Fri, 7 Apr 2023 09:14:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240340AbjDGJOL (ORCPT ); Fri, 7 Apr 2023 05:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240428AbjDGJOI (ORCPT ); Fri, 7 Apr 2023 05:14:08 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FF018A79 for ; Fri, 7 Apr 2023 02:14:07 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id n19-20020a05600c501300b003f064936c3eso4101149wmr.0 for ; Fri, 07 Apr 2023 02:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680858846; x=1683450846; 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=9gvRZGzZ81MG5/Kz7opKkMvHNkqBqpdFUorIdo7o5i0=; b=xGMUQH8iksEJ8YfExMZNgPR/bg8PQl8w/Qm3p8yAoOnLfxp/qQHfGQsT7zA9DBCMSa jbVc6ldqKsbilNojY7mVUwQOcmpV7IFk2IMmFtZmw0oXXhfmMiiKj+Svt0+c5zn6wBQB HOcZDsR8aaTwLFrCGep6le0PhA48SsKqumaZMAjGYgih4RB6DiFppRcn+lXy9dFzrCN7 OWC8bBzY/UKtiAXRrZgytyfiOe3Fb197ke50mBbVfBZFcnHfNjxHXMt59eOPktEMUrmY gx5ndQcbxpALYm6Zll5QpoMuPa7HfllcLlIezWoYtOR/nihABCkNrAhNccj2ys2pjJXH 0KIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680858846; x=1683450846; 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=9gvRZGzZ81MG5/Kz7opKkMvHNkqBqpdFUorIdo7o5i0=; b=Mj7h2cZmesxW2MYjqaJooBa7SsFxRIC+tRxK+aEMrzSfVj0CSHZGuRqDUlpHKNFzMI WtT31TYIpbhCCIm8MOzc8Kh99MKZ+LRV6REZQFwqWXPo8J7qTrdDb2k+TvberAtEEE9/ fX2PZLExS9l5Uys1ER8nsDAkQ2EcS/GER3k/fAt+lMMEBXO4rXcpYytwDV1IpyUXnVJa wnIT2lMNbQC7joeLaPPYPrLdB1giRf9Yu4dzw1XtGTpnRchd54y1zOyB4ebHhgQdAxV2 n8NvREMBFGx+NIAo75FKJTKU9KrcF4/Lp/VACfoDMlpIf773q3sIrtuDP1Av9WFUE7Rq oPPA== X-Gm-Message-State: AAQBX9cBvgYj0Ia+RfHDhRyxdjVG68R7Z+quSe97QEKW1RZYtOQ7N1+s NqH9/3N/1r6ZX/SgTMKyYec7xGMfR59vyRVkfaw= X-Google-Smtp-Source: AKy350ZRrTOfycKW9wpb1ySxaW2Z852gPkXpKIHM/8ZPrQgUAJnMq62jSsj7nPudOUhDoiebI/srKQ== X-Received: by 2002:a1c:f719:0:b0:3ed:9212:b4fe with SMTP id v25-20020a1cf719000000b003ed9212b4femr793548wmh.0.1680858846111; Fri, 07 Apr 2023 02:14:06 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id k22-20020a7bc416000000b003f04f0c5a6fsm4026429wmi.26.2023.04.07.02.14.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 02:14:05 -0700 (PDT) From: Alexandre Mergnat Date: Fri, 07 Apr 2023 11:13:53 +0200 Subject: [PATCH v2 3/3] dt-bindings: memory-controllers: mediatek,smi-larb: add mt8365 MIME-Version: 1.0 Message-Id: <20230407-smi-driver-v2-3-8da6683cdb5c@baylibre.com> References: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> In-Reply-To: <20230407-smi-driver-v2-0-8da6683cdb5c@baylibre.com> To: Yong Wu , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=951; i=amergnat@baylibre.com; h=from:subject:message-id; bh=dRVBiL9RiPJX/FXqDzKoQWbHskXPf7KJD11X+Bn//b4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkL97ZGgOc4pIupSNVBNwzWquNMS9nseDM+yjJIvB1 +Dfza6GJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZC/e2QAKCRArRkmdfjHURWJED/ 0bCm/8nQsFGhHGeEqIxX9hTkSaIRJOb4F/1r9lSCfquAUx8xV4ArzZu/AmQad0YBbYjSLKtRe6syP/ nAe+u/8rzKqcb7mITsPUtQ9r2LMHkePwwzRIbiTvm5aw9XTLkK7tHZjqFFlzMfp/DqurdTXTO37TIK 4jbFYUguWI33kDHvQfjdSc1rq94IALcD7uCqhNiHjEq7lfJdReZ4SX/u97liUieDv4edDlLJPcQcI3 I34rW2fZU6ETMVozsRDysD/NPq8Ux+jvmxAa4cS6b30rbfwb00+68iCtc4jS307LUEXAc4Odb1LPlj /3LH9BtyzuVsNdN+d+ByjPsrV947p5cklLP/MoSaC3Z08VYIaghcLRd4KJIy76UtHn1n5HcPvl4W6C ZiQfr2ycl0TK7m7QtkrH9SB/9pVUFTFSOQhCPyqMnx4X5r/RZUAtn+bVzNI0cP6tg37MLvUiCNsj0x wCHjFrhEFKDmbT5nUUniLI+6xMIk6T8cJg8EyEb7moE6KsZe+GSD1/yQHrZzb/sXm/D7pMLiMEjPJ9 Lh7RqARBb280RhjDGrHVnNWs0+82lfRk16xGlp7oYtd7StIOIWX837WGbNlyxHhJGS90f+QVlmnavh 2SXS+01KaySmjWKmMF7GNZs9XxHMYMZf0Ukd8mYDfXlFtKkapnhdvNPf36Dg== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding description for mediatek,mt8365-smi-larb Reviewed-by: Matthias Brugger Signed-off-by: Alexandre Mergnat --- .../devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml index 5f4ac3609887..aee7f6cf1300 100644 --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml @@ -34,6 +34,10 @@ properties: - const: mediatek,mt7623-smi-larb - const: mediatek,mt2701-smi-larb + - items: + - const: mediatek,mt8365-smi-larb + - const: mediatek,mt8186-smi-larb + reg: maxItems: 1