Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3054812ybt; Mon, 29 Jun 2020 14:05:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6ejIVuXx1EIjXfslMq08AmRo/CVlohgEYR6ezyiD7owmU63LyqeF3dmD3gOSkep+jUf9j X-Received: by 2002:a17:906:6d49:: with SMTP id a9mr15042616ejt.435.1593464714757; Mon, 29 Jun 2020 14:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593464714; cv=none; d=google.com; s=arc-20160816; b=xNPEjYh9drvdq5IPMNHTlMDbbguSFVYFVhnCt62dvzC02Sm+Mu9tJ1zZsbYIn9pnfe 4kAExqyEQCJg4KeRr2H1Zj/43JcoBc92DvaiUx1PE0ScSaY8FDAsseSiIp7BbmdaFG1V 8lashydo4pw3INexjPF8uPSEJHBojIjpky/+a7nmczGIobKzbVC4X6Xrxc8mLb7oBaMN LGMP91e8xScWylM71sA6r04OFy8orLX+AxrB0AJENrtHWQdG3QEeahT44Q6AsFvXDQaE IeePSh4YnySwYFs8o+eBwIXYAvVkD7OCVW0Xvx3IkZqg4QZm5WvMvxCVNpHo9qU6kOP1 PMjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Hd2MMVVnXUbscP3hzSX359CMV7dNZSM4sZEMF0UOJXI=; b=RvcKdp0nwEwYHJzrwATvtBLThuPDeIQ5cyOkxtOo8K3tjIHRptL8DL9ED4G6OC/oKA XbXr1rglLWXVP7+zBv2nBP7V6vwJeFDJ04WYroc2mMAyEiWHztyIOlioZp24SDY6lw/0 KP8iiK2MneypYPYCRHg3N76mfGHs7FEygM197NKIci/N62AMMn7RT34rsMgnSWrK/Ltw 5HRHhgofl5breSCxkeMJq5glhBKl0+zNynoN9oXyuJMdm6wvxGJjfsY1iELynQRhuL5g Boik8/TyIRyAP5dX/oxIk9dm4WDOpQBILpl3ZdoD3zSd3NvWAc+4rNFw4c+VyRM1ohmj SiUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CLIreSFv; 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 gy14si387433ejb.313.2020.06.29.14.04.51; Mon, 29 Jun 2020 14:05:14 -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=CLIreSFv; 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 S2390144AbgF2VBl (ORCPT + 99 others); Mon, 29 Jun 2020 17:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731200AbgF2TM5 (ORCPT ); Mon, 29 Jun 2020 15:12:57 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92A5AC02E2EE for ; Mon, 29 Jun 2020 07:26:03 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id f8so5981454ljc.2 for ; Mon, 29 Jun 2020 07:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hd2MMVVnXUbscP3hzSX359CMV7dNZSM4sZEMF0UOJXI=; b=CLIreSFviDpqPwYAU9TYkfCpvCYZGhdDaCIpQp9/rVeqvGhxeP/XKzS+0zgJVMs5Da mROjN0Zcll4HiiSpuWfyAVT0+dinkiiSg/PZh2aTUdLOkbzqW3FKmeX621Th59C220jQ G/T7+sE3unXZPernYsPooyb097t4jqoQAJ9GKvBAN5cUnVKp0vu/ZANjtz9Vxvc8hVlX S9axoaFN5unHOkT22mCY4sG11qAFJh075GM6lo/k9RNOqU64JUHrm8jqiboYRqtrsWv9 jtRPzJckeNCCozASP5YeKKr0+8U+8B8vCmw3JWINbemfGOqhkiH4qXPE49XOR9eK8jQd hJyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hd2MMVVnXUbscP3hzSX359CMV7dNZSM4sZEMF0UOJXI=; b=L6w3kwZI37crjB6gsMglETg+tnXVAHJa0pzbzCcQMLADphB5DasqRxTbWv+29/Atg9 V9o1Er0gyEDVNI5RkKom5s40KrYinJyQRCYL1pdeoxwSpvsPB4CuYwRv/L3dkqj9KuO8 XjdBWFXwMz1QPfvRtnMemxXabHF6+yr7uEpMQTsmVR6y9hU7JQjQaDQbI6c+4JSD8iuG C2bxZWHDK5c0ByZkOj+EBTXqXbLL4kaOZ/TBX03VTr+ZNlVi7soEKBLRJfjEBh+kJZpS pcc9MQCeUf79QxTAU1ZQAqLWa/hES+oW0KQ7Ns4GzU6n9GCkPqRkLsg+UmO7PuanAMlv B+/A== X-Gm-Message-State: AOAM532vLqAEBDVQkqc+iBMAYmrQgwUx7yDOThhZf961cqMYPPyAmzvv CUB0rvMAGivcOWhQ0Zp84GCN7LEOiInXopVFZ24= X-Received: by 2002:a2e:808d:: with SMTP id i13mr4871204ljg.452.1593440762030; Mon, 29 Jun 2020 07:26:02 -0700 (PDT) MIME-Version: 1.0 References: <20200625140105.14999-1-TheSven73@gmail.com> <20200625140105.14999-2-TheSven73@gmail.com> In-Reply-To: From: Fabio Estevam Date: Mon, 29 Jun 2020 11:25:50 -0300 Message-ID: Subject: Re: [PATCH v4 2/2] ARM: imx6plus: enable internal routing of clk_enet_ref where possible To: Sven Van Asbroeck Cc: Shawn Guo , Fugang Duan , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sven, On Mon, Jun 29, 2020 at 10:40 AM Sven Van Asbroeck wrote: > Thank you for testing this out on a different platform ! > > I had a look at how things are done in the Freescale fork of the kernel > (5.4.24_2.1.0) and I noticed that this kernel has almost the same > behaviour as this proposed patch: the GPR5 bit is _always_ set > on a plus. The code does not check how the enet clock is generated. > > https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/mach-imx/mach-imx6q.c?h=rel_imx_5.4.24_2.1.0&id=babac008e5cf168abca1a85bda2e8071ca27a5c0#n269 > > Now, I'm assuming that the sabresd-plus can run on the Freescale > kernel fork. The GPR5 bit will always be set there. Just tested 5.4.24_2.1.0 on an imx6qp sabresd and DHCP also fails there.