Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2458408rwl; Thu, 30 Mar 2023 10:32:21 -0700 (PDT) X-Google-Smtp-Source: AKy350aVha8rt/3NbNzTaRaaajIHX77RD5Fu2229fgx+0l0Pnj3bllZ1aNZLY+npEaKbIiJdchyY X-Received: by 2002:a17:906:3f4f:b0:945:394a:d0fc with SMTP id f15-20020a1709063f4f00b00945394ad0fcmr3006183ejj.6.1680197541121; Thu, 30 Mar 2023 10:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680197541; cv=none; d=google.com; s=arc-20160816; b=uSgPSK2rgEU85hyXjea2vQVev8WWISxLYAhIYJ5JBEy6ARAoxSnlxU5LDmo86PSxkt L7/srIYM6vRicPXO7Q8HzsG8pMLI93WjRz688GwJ7PiGDP9RYko98D2kCDIogDSpC9eM YoKsqJeR9EslxjyD+1cjO6HwsrLh5Sw0ueExIw6iDdZIof8voxLlB5FO5D2+ICM03gwt WBupSHANH+Y/4IetNc4hzH0VWNpNPFA8iEmcp77SFuYToZ2bGxOhwAfQ3l7mruYnrA9r ntar/0LEVLxsiEZ1CxOSolXu5845J1vZe9TrsjQ8pPw7gXFAv4dJTH4A+2IRQJDVcTuf DUVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9Y2DqD4b0TEjJPvYx6jYpEw4YYcOZf2U/uI5AHnyKKE=; b=aZEawXc2SX2R4t7OV+YdIqIoridOYrWE99kDwogCmENDkSYiwyTE7igJFLSFH8aTx4 bG4FvMQ4SwnXEWULeEwSfA3BEaF6hXLiVk64rHfCGOFD5/RPT8ITBz81LHG38EWUgPvt ZQ0SJU18rFqRayHtEqHyPxzHbC3AsAaePImwGyUIqoKT9zKXMrxPwjeHkzhr7j095mOt WAr0mhZNnIn3JlVdpHDWI14Kl7ALWLNC/iMfSqRLP+8xMcsFl0mAV9fVDodQYMkKCB/F 3bc89YC9XNsWqzYhUKhGC1Rn/wnxlQPb4iXnclI3xYPHFzYzf4BiYDtMuH7m7oyw8Td/ w1MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WFMeZNzY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020a170906271200b0092be82bf914si80131ejc.863.2023.03.30.10.31.45; Thu, 30 Mar 2023 10:32:21 -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=@gmail.com header.s=20210112 header.b=WFMeZNzY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232390AbjC3R3B (ORCPT + 99 others); Thu, 30 Mar 2023 13:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232372AbjC3R27 (ORCPT ); Thu, 30 Mar 2023 13:28:59 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 084B6DBD1; Thu, 30 Mar 2023 10:28:58 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id l15-20020a05600c4f0f00b003ef6d684102so8547780wmq.3; Thu, 30 Mar 2023 10:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680197336; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9Y2DqD4b0TEjJPvYx6jYpEw4YYcOZf2U/uI5AHnyKKE=; b=WFMeZNzYNRmA4eopOnR7jiHne/7tIemjxw8rqSTQ8QSkYJm5WXH6WM/c8bQ5cx/8/q TPvVjODX1ArBalsWhxli6d0h32H5lIa5OcwgRQri6KepMhN8aRC7jYlFFQA4YlNVcJtr BbCKcij4XvZm96F1e3spFuhovODz9yIoSRH5dL9ckR+9wi4Qln2yppZp4ccggPnOmdLA Rv7C7qjTwQmmJu9TO4NJkzI00doWzskFpMFu/d3mQZqTRk1nuIFS/7AskxbOa1SXhZrK bVLTzKaTrM1xqYip2iVtpXxXpcOD3Ak6LvLLLC0+9McOowfX/cVnwFCh5W16YhyDVIP2 gDNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680197336; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9Y2DqD4b0TEjJPvYx6jYpEw4YYcOZf2U/uI5AHnyKKE=; b=GDDniWyENuDj4ng0Q/cSex+XmEqS7KfSe8Bh3qi3+MRXtxFdShseZ1x7JEWnB5kA3f XSWlZ3XLLjUp1wGu7zKo5pvHzt3yP45FWbDrc+DcshFJkUsOzCJPqCIxMjWH6OVvet8C NtxaNtHeZEdMxlNtT46xUvHzRpgm8+nnWURfCpuejeT7d7DQPc7vRz2poyI5ZJFEqLum pQ0rAGX3Thd1lO+/mueYk5HbFEoI/tqBcKxb0s9ZWjQImidvLzTkIxqA5qK0ZorlK63M zA4CFIztfGn1X47c8jBU2kBkCJDX/jEXk7vHlnYkydAk+fx5w0YOMaCnBzPhy6FHgJWQ sL4g== X-Gm-Message-State: AO0yUKUh0aLebCjBIWcCHX56goFLdQPU4nQqXC/ha72WO2YkBgATrsGe A5DN7jf5XiSTZ2394fzQFKo= X-Received: by 2002:a05:600c:d5:b0:3ed:bc83:3745 with SMTP id u21-20020a05600c00d500b003edbc833745mr17495399wmm.25.1680197336468; Thu, 30 Mar 2023 10:28:56 -0700 (PDT) Received: from [192.168.1.135] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id y5-20020a1c4b05000000b003e91b9a92c9sm6507980wma.24.2023.03.30.10.28.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 10:28:55 -0700 (PDT) Message-ID: Date: Thu, 30 Mar 2023 19:28:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 08/17] arm64: dts: mediatek: add mmc support for mt8365 SoC Content-Language: en-US To: AngeloGioacchino Del Regno , Alexandre Mergnat , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Chaotian Jing , Ulf Hansson , Wenbin Mei , Linus Walleij , Zhiyong Tao , =?UTF-8?Q?Bernhard_Rosenkr=c3=a4nzer?= Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, Alexandre Bailon , Fabien Parent , Amjad Ouled-Ameur References: <20230203-evk-board-support-v3-0-0003e80e0095@baylibre.com> <20230203-evk-board-support-v3-8-0003e80e0095@baylibre.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On 29/03/2023 15:21, AngeloGioacchino Del Regno wrote: > Il 29/03/23 10:54, Alexandre Mergnat ha scritto: >> There are three ports of MSDC (MMC and SD Controller), which are: >> - MSDC0: EMMC5.1 >> - MSDC1: SD3.0/SDIO3.0 >> - MSDC2: SDIO3.0+ >> >> Signed-off-by: Alexandre Mergnat >> --- >>   arch/arm64/boot/dts/mediatek/mt8365.dtsi | 39 ++++++++++++++++++++++++++++++++ >>   1 file changed, 39 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi >> b/arch/arm64/boot/dts/mediatek/mt8365.dtsi >> index 687011353f69..a67eeca28da5 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi >> @@ -399,6 +399,45 @@ usb_host: usb@11200000 { >>               }; >>           }; >> +        mmc0: mmc@11230000 { >> +            compatible = "mediatek,mt8365-mmc", "mediatek,mt8183-mmc"; >> +            reg = <0 0x11230000 0 0x1000>, >> +                  <0 0x11cd0000 0 0x1000>; >> +            interrupts = ; >> +            clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>, >> +                 <&infracfg CLK_IFR_MSDC0_HCLK>, >> +                 <&infracfg CLK_IFR_MSDC0_SRC>; >> +            clock-names = "source", "hclk", "source_cg"; >> +            status = "disabled"; >> +        }; >> + >> +        mmc1: mmc@11240000 { >> +            compatible = "mediatek,mt8365-mmc", "mediatek,mt8183-mmc"; >> +            reg = <0 0x11240000 0 0x1000>, >> +                  <0 0x11c90000 0 0x1000>; >> +            interrupts = ; >> +            clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>, >> +                 <&infracfg CLK_IFR_MSDC1_HCLK>, >> +                 <&infracfg CLK_IFR_MSDC1_SRC>; >> +            clock-names = "source", "hclk", "source_cg"; >> +            status = "disabled"; >> +        }; >> + >> +        mmc2: mmc@11250000 { >> +            compatible = "mediatek,mt8365-mmc", "mediatek,mt8183-mmc"; >> +            reg = <0 0x11250000 0 0x1000>, >> +                  <0 0x11c60000 0 0x1000>; >> +            interrupts = ; >> +            clocks = <&topckgen CLK_TOP_MSDC50_2_SEL>, >> +                 <&infracfg CLK_IFR_MSDC2_HCLK>, >> +                 <&infracfg CLK_IFR_MSDC2_SRC>, >> +                 <&infracfg CLK_IFR_MSDC2_BK>, >> +                 <&infracfg CLK_IFR_AP_MSDC0>; >> +            clock-names = "source", "hclk", "source_cg", >> +                      "bus_clk", "sys_cg"; > > clock-names for this do fit in one 90 columns line. > > After compressing it, > > Reviewed-by: AngeloGioacchino Del Regno > I applied the patch and dropped you Reviewed-by tag. I think it depends on the taste of everybody how you prefer to structure this. I've also seen that on boards you care (mt8183 in that case) there a clocks that don't adhere to the criteria you mention here ;-) Anyway many thanks for reviewing this and all the great work in general. Honestly I feel I didn't made justice by dropping your tag, but as you stated so explicitly... :) Regards, Matthias