Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp19000ybh; Tue, 21 Jul 2020 15:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk7uwKyHmVW/9lu/8weiFVoo/UD7LsK5pE66aTd7cxjVCI7C9BZRhUD4gebgBKargcuH+C X-Received: by 2002:a05:6402:31bb:: with SMTP id dj27mr27928221edb.387.1595369522951; Tue, 21 Jul 2020 15:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595369522; cv=none; d=google.com; s=arc-20160816; b=x5fvxWQwoMIIT2WFmTNHWI+Py8upjvqjgLbNUSA8JyQevQWdyBPKccY48Vnc0Qbsqx acXmD29H1whjC+2f7fKJVNess5CrFhdOSQUkDM78A9nWKz40IQjtFUL7MofZK7FbF0Gn sPTul0vi0axUrGDRapgK42UvTzxSOkJaHKMlOW8l11DInEJtooLh6rBgmRdpG7g0/dDP 75DuyIDqhWQByxjZloQI34jqZYilmvnG6UqZhuz0kNr/S9xwjzOFdx28rT/mYQVonNRK IcJ1QGzft0yChjKk3sL3S6d1zM4gekpYBXT5Xg85fwrdOxKXIMaQDFu2HvZQcPjXeO9C 7HOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=jmxp9ZjwzrYU1CbK6BbkvHp9azWbhVXBGBSwuvDU5/Q=; b=a2IcTulmrqOGRZjieaCx+WKSOQ5zBFXvzFhruvbJgecLmvXDL/Y8dSoDYLr8vs4MYm 0SZKgn+nuvazWGK59eKTslexlyiPyYXcWIvIUenj80mlv+FxkWaSI/GbXKsMWIzfKbTO QoClqpLHHEaKL2loxtnkppeHwl3HWgHcLoPNrIZVWG2mF+4QlAJM4CRYJNvApDG/veac D+6QQyoap4J+tSog4n+glmzho32dAtFaBo3jT61jucXHW4yDIGzsajWvBCsuqnVhSSZ+ 6CqJf0PPC5IJ7NtpCxtM1IvCxPXVaOoJmaMQ1lOl52ODkj7z1qKlAlewpF30ZBnCK6/R ooPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UbYmBjCB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si13361360ejb.486.2020.07.21.15.11.40; Tue, 21 Jul 2020 15:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UbYmBjCB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728606AbgGUWJK (ORCPT + 99 others); Tue, 21 Jul 2020 18:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbgGUWJJ (ORCPT ); Tue, 21 Jul 2020 18:09:09 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A4DFC061794; Tue, 21 Jul 2020 15:09:09 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id 184so107050wmb.0; Tue, 21 Jul 2020 15:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jmxp9ZjwzrYU1CbK6BbkvHp9azWbhVXBGBSwuvDU5/Q=; b=UbYmBjCBdVt56lbOo9uLJj4QIJ93bEJNWqYyy0Aa7BP07xdb46QT1/1hS69tOeS55S Y/lDYpWJrncj7JgrdrarkD8BaI28v7fMrFT8WoWmDeDgmlbG47qvkTdrZNE6phccwm2g OiFvnenr1w2xNP2h4Bo3JMQTdKOUic5WmGHVw7AP0bgxou9WmkssfHWWNhUXIYOEEAFp xM9g/GkplKSdNyKy9IG7FWHJn1kRLzwqBCPSz8abbMuVY3hFhtBRhcpu3XXfh20e9nHD c1scEShv0oNJGjuJlh1hXzjN63AwBsgs4VdA+sQRvf3/9zUK6fsxN1zvjye/Q0A4/DYL zOPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jmxp9ZjwzrYU1CbK6BbkvHp9azWbhVXBGBSwuvDU5/Q=; b=dZ8T0jnzQChlgFECj18Z05gshDR6lJE5htY3VnUqQAgc1N6hC0nVC4fgI4CcId061t MYtfQs9nM9hH+clohiPTJAFqLWDfW4O/nfFogOFKNDK8IQdw5u6eQvv/516xIj0Lf82Q fmDR1De4e0a19lahqBLKHuGkn0mqzY+a7kEuPdztzkDzuXtveGHxl7hby+BxtKlHg3bz 8Ns7VNxSTzfLnAY012+XT63Ic5D6PJRfGRQy+apSApezKO5DdPFtR9hc/BxyAw5ap5Xb daWdlqQZlk+8YJeOJ8tdEZnizg1Zp2cBDkJNbRKduoAfufft4lExMhaSYq10lQlK2wTu MRxA== X-Gm-Message-State: AOAM533eqPEciXtu7lxxiqbL9rq63iAAdyA9AUmFcYu8/mOJITclDKoE JXdN3EmIfBk6whcs7xvSIBY= X-Received: by 2002:a7b:c4d6:: with SMTP id g22mr6095038wmk.170.1595369348208; Tue, 21 Jul 2020 15:09:08 -0700 (PDT) Received: from ziggy.stardust ([213.195.122.158]) by smtp.gmail.com with ESMTPSA id k126sm5110920wmf.3.2020.07.21.15.09.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 15:09:07 -0700 (PDT) Subject: Re: [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779 To: Hanks Chen Cc: Linus Walleij , Rob Herring , Michael Turquette , Stephen Boyd , Sean Wang , mtk01761 , Andy Teng , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, wsd_upstream@mediatek.com, CC Hwang , Loda Chou References: <1594718402-20813-1-git-send-email-hanks.chen@mediatek.com> <1594718402-20813-7-git-send-email-hanks.chen@mediatek.com> <1b335463-b0af-9010-feed-c4b673ebb6c5@gmail.com> <1594872242.11090.8.camel@mtkswgap22> <742eefe1-954b-eb3f-98b7-469833df729a@gmail.com> <1595311242.5599.3.camel@mtkswgap22> From: Matthias Brugger Message-ID: <1eb11f7f-603a-4aa9-92c5-1e18e6e2ce01@gmail.com> Date: Wed, 22 Jul 2020 00:09:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <1595311242.5599.3.camel@mtkswgap22> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/07/2020 08:00, Hanks Chen wrote: > On Mon, 2020-07-20 at 18:13 +0200, Matthias Brugger wrote: >> >> On 16/07/2020 06:04, Hanks Chen wrote: >>>>> + uart2: serial@11004000 { >>>>> + compatible = "mediatek,mt6779-uart", >>>>> + "mediatek,mt6577-uart"; >>>>> + reg = <0 0x11004000 0 0x400>; >>>>> + interrupts = ; >>>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART2>; >>>>> + clock-names = "baud", "bus"; >>>>> + status = "disabled"; >>>>> + }; >>>> >>>> Devicetree describes the HW we have. As far as I know, we have 4 UARTs on >>>> MT6779. So we should list them all here. >>>> >>> >>> Actually, We have only 3 UARTs HW on MT6779, but have 4 UART clk in >>> header file of clk. >> >> Correct, I got confused by the four clocks. >> With that clarified I'm fine with the patch and will take it as soon as the >> clock driver patch is accepted. >> >> Regards, >> Matthias >> > Got it, I send a new serial to fix the redundant UART clk > https://lkml.org/lkml/2020/7/21/45 > Ok, also I was talking about: [PATCH v8 7/7] clk: mediatek: add UART0 clock support Regards, Matthias