Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5323819ybl; Tue, 14 Jan 2020 07:08:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzB4cqlfTILL7x3IHCUIt9UoryOnfYXY7HX6IPEVtzkyuQoZUtiVGj+bAa5O8rkxk5KGcfS X-Received: by 2002:a05:6830:1141:: with SMTP id x1mr17711488otq.120.1579014515419; Tue, 14 Jan 2020 07:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579014515; cv=none; d=google.com; s=arc-20160816; b=UoKkPV0CMzQYMDhv+G9WIYi/4Ff9r0lNRvBj/Xs2fuRM4gTAHYiaYxggVtvmMyES7A e4IZC/ltLpSjAdQ/cGwvkqXW4C7e/hIhyCHU5BmvRQkmVV+BiMf4X3bEKfAkepU50SSG 1k1KeigOd7I7kPRUxoWGzLHFRz8J1mAP006nzTXOjBDxMBZHj2YiC0tGMEEEvICy07E4 xk25jN37QTuDhBpOpf/qTUf7fZL4j6cBBMvnREeg1I/gHTc3dg/nFHSqos2MIXlUdIkb 17UCLRJcK5KFefGBylFLwxaqTxXf4uwBp4n3VTgozfhw9aKjC5t/9u+BVBQBrDjHA/NY d6Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1LO+o2liqei6dOj4tGd2yyWf59KLYzNggmwA3IlFMvg=; b=oBOGnrK7uK3LymQUFNMgk3nZA5/grszOPDfYF7l/T1OPRAobrf+c7jiEzIyzC6VqjZ Ptvm7aTlAEb2EsVnFnRMWfGWGijLYorQW/vcrshBZ/2iGookmvQSqeaFjRZEoVnO9YZt jP3btlToDDmA6+HZQ05EIKbrQu2GhnHxYh95AfV3r/7wu6Djs32kFj0V46pkOdE7qOhR 1vnW6st6kj5A2x2fmNn6U92jS0usaecJdLl/g+Ih8WVamPot4KEh2s4Umvt2jVM3dW4J J6iloTbhCmcvLtfbvdC0qMGUu8QJSTeRfXI+JxS7ge0mnfA/pIEhk+bIX+/Qcv1EA1j9 bAjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VaQmMXSe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id w131si6658381oie.47.2020.01.14.07.08.15; Tue, 14 Jan 2020 07:08:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VaQmMXSe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729113AbgANPG6 (ORCPT + 99 others); Tue, 14 Jan 2020 10:06:58 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36166 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbgANPG6 (ORCPT ); Tue, 14 Jan 2020 10:06:58 -0500 Received: by mail-wr1-f65.google.com with SMTP id z3so12519392wru.3; Tue, 14 Jan 2020 07:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1LO+o2liqei6dOj4tGd2yyWf59KLYzNggmwA3IlFMvg=; b=VaQmMXSeGJjA5ZfjvqpKmYtlwdf6Euog7KwKOqwpaKdNgl4qxhZXUDWxgZhFeFlh76 6XbwBqkhmlDlNq2FO02wfrvLWEMGnaM6A6YXiAcbih9JmaDpUH5q3hQIMJKOiTQbR5Dx J1731CLg0tfFTJ+0+9VJScXTx1MgwbOceUGEp6OnNe3nPpF9wwz6EiWfb/UdtLxYEiK1 DB+YTkj0oROCBXEVcnx6a9wf9gH4k2tutyDO30MsYlcLpJeiSNHjUze8eXOy1013k6VZ pBQ/JTuJw6E4GTo32rxtvMFMGnURC1/azsNspW7lAMUiTBCZOl3I2aP27XWxBWGS+wG4 3eqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1LO+o2liqei6dOj4tGd2yyWf59KLYzNggmwA3IlFMvg=; b=Od+V0Tcf3iBXY0Z9gLPwwwIS0GmQsH7lNA1XyhEMC1pSdNmdQhIaljHvOAYJFWX3sC EdPGI8/Gnxb7MhTjACTynjxIaaoVWUh3LJnLRm1Qzjr3kD8NBlzRB2FuRGk3IHuCsgiI yk776SIugdR+2mtdyUlrAuYbai7nFo7r+rK2XUX5yQiQk6sO3WS35zL4IekOPti536YR Cge7zvXIifqQvTY6K3PfCq0M+AqWboNK+7qBv/QV7QhA3dLIvNdUGGDcq5eBpqNh8TFk MmHswhCx/793MuDMQPcr950KONHtZ5AcgNae1rfxCegWrcryjSJnwlltWe4c6hWU2/S9 d5vQ== X-Gm-Message-State: APjAAAXBqZyg2hCTLMnhR3sYRBEx4hZlutZPzZsWVOLkMkf5bG889J59 hEXot4vauaTS3bJO00lPkVM= X-Received: by 2002:adf:f606:: with SMTP id t6mr24938904wrp.85.1579014415886; Tue, 14 Jan 2020 07:06:55 -0800 (PST) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id c17sm19929654wrr.87.2020.01.14.07.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 07:06:54 -0800 (PST) Date: Tue, 14 Jan 2020 16:06:52 +0100 From: Corentin Labbe To: Chen-Yu Tsai Cc: Maxime Ripard , devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: sun8i: a83t: Fix incorrect clk and reset macros for EMAC device Message-ID: <20200114150652.GA32269@Red> References: <20200114094252.8908-1-wens@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200114094252.8908-1-wens@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 14, 2020 at 05:42:52PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > When the raw numbers used for clk and reset indices in the EMAC device > node were converted to the new macros, the order of the clk and reset > properties was overlooked, and thus the incorrect macros were used. > This results in the EMAC being non-responsive, as well as an oops due > to incorrect usage of the reset control. > > Correct the macro types, and also reorder the clk and reset properties > to match all the other device nodes. > > Fixes: 765866edb16a ("ARM: dts: sunxi: Use macros for references to CCU clocks") > Signed-off-by: Chen-Yu Tsai > --- > > Error on my part. Hope no one was affected for too long. > Tested-by: Corentin Labbe I saw this today and with this patch the board is back normal. Thanks