Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3375859pxu; Mon, 30 Nov 2020 01:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwayfNanSnAQvzPOEb8KP6xhOD1WVQAfieKIEBV6BrYAgZrVlAW6Eb2wO9ZrXjfFBfUBdwn X-Received: by 2002:a17:906:5293:: with SMTP id c19mr7002578ejm.72.1606728303737; Mon, 30 Nov 2020 01:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606728303; cv=none; d=google.com; s=arc-20160816; b=H4C6piUbsjIlUdlTjdTQf+SjcJUWmYHmg5lg6kHBeBb1de8kaWX7i8E6gmZ3hwqiPU l0k712ODIgwc3fCXf6RlxNN8RE9ryIiXZhiEZesLZhUxq7HFDXjGReVX829XJH/oLtHy O8subDDP8FoSSnM6pbr5sZi8Pbi2Gj9UAWQUJQ3dq6GZd0wkSv7THCfZ9/QYnZFM3vmg 8xHX+k6l3UlBnpbKFdR+fCRoK3cGwFAg36ZBCFlxJE9m1WeTafh71BWrdznPl4bTNRHh IDQYQ1lQQGaX55pMQnrM+kKniyF2FM/fBR85IHoTtS4sySmjKXTLiQpqqsT5yzU4eFgX cRdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ivX2QkJO6qng3PzMVaBg2ma0XCt9TaCfMfdTYEvFnv0=; b=hxDRrBtxpORAONqPq65iLzvkxQ7ISKfi1CQw8qet0wZIU7YZtRZLoTEtHg4R8j+cER SFS2B7d+pZy7PE2C4nwD3N9aTQw/kMVvWdB8batDnfv4nXMuqRTcKQINwYAdy9Uo2LqD Gzm35Sezl8Ir5G8v0Oj/Gnd+SJibmYUhnNJtvAC6P2nFrOQ0gzBR9Td0U8G6qRa9o62c 0c2tiKExQFZuS9MMy+9xm6DivhgNZyaiSWH+q/LTmfHIs8yrWPDgj0UBV/dt4EQrwR20 190G5oiMGw3Jfnd/cbhCvK/CbFcE+982nKUSrN8J5Fzy6XAe3zROYktBEj/Gozm6sqnh gWmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cIwSEEUd; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si10896874edi.511.2020.11.30.01.24.40; Mon, 30 Nov 2020 01:25:03 -0800 (PST) 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=@kernel.org header.s=default header.b=cIwSEEUd; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727030AbgK3JVS (ORCPT + 99 others); Mon, 30 Nov 2020 04:21:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:49278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbgK3JVS (ORCPT ); Mon, 30 Nov 2020 04:21:18 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0C435207BC; Mon, 30 Nov 2020 09:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606728037; bh=JTMsRQDp629j0dDn+/Ii7q+0c+mGzBEO4MsM2ildxw4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cIwSEEUdanV3hCJbL4T7FGDLe4qQFPXBBiErSdDQPctij3nfOIfDtojyznxtyFy/v 7ZTnPr1mhPof1cVn/04DxOJq6SDkMcpP0yfGvxj1A9aIrmdzBVyMJnXsBva6+nYgFL ozEKcnHRhBk8GhLyIPd2ibIGAoUhIm1Qr/sZatY8= Date: Mon, 30 Nov 2020 17:20:31 +0800 From: Shawn Guo To: Michael Walle Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michael Turquette , Stephen Boyd , Rob Herring , Li Yang , "Y . b . Lu" , Xiaowei Bao , Ashish Kumar , Vladimir Oltean Subject: Re: [PATCH v3 1/9] arm64: dts: ls1028a: fix ENETC PTP clock input Message-ID: <20201130092030.GA4072@dragon> References: <20201108185113.31377-1-michael@walle.cc> <20201108185113.31377-2-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201108185113.31377-2-michael@walle.cc> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 08, 2020 at 07:51:05PM +0100, Michael Walle wrote: > On the LS1028A the ENETC reference clock is connected to 4th HWA output, > see Figure 7 "Clock subsystem block diagram". > > The PHC may run with a wrong frequency. ptp_qoriq_auto_config() will read > the clock speed of the clock given in the device tree. It is likely that, > on the reference board this wasn't noticed because both clocks have the > same frequency. But this must not be always the case. Fix it. > > Fixes: 49401003e260 ("arm64: dts: fsl: ls1028a: add ENETC 1588 timer node") > Signed-off-by: Michael Walle Applied, thanks.