Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2543719rdb; Mon, 12 Feb 2024 08:09:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IExzKtQGh359CXqlAZmv3HxOjSVE/SvfqDbCgYtzwlPmUILxcNk1c1Dzjhhpwlrxq2WlDSQ X-Received: by 2002:a05:6a20:e196:b0:19e:a531:e489 with SMTP id ks22-20020a056a20e19600b0019ea531e489mr5557148pzb.31.1707754149712; Mon, 12 Feb 2024 08:09:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707754149; cv=pass; d=google.com; s=arc-20160816; b=sib05qJhbGlr3twFx1Nohzi5KIPrMDt13b/uzVeFms76s/WKCXjS6VXOA9bRowT/f9 vGqoCNd1bb/o2vI/uZgQoei54YNy1TW+xbOgb9BQrlXrdMZkDGYhpFZ0eWLK/HpRc5WQ vhjLU5jPaNbbJ5eqXvLFzMuEUBR2LZc4s22k+91K/0Yky8r9BUITQKp9G3n2SGB92I2+ zgLH9wc7kygZ9lJw5v0m8wqa4fS1BNaERIPBlpAMf73B7jJ/g6rmneh95WeLDoQ+ZJzm lPydEsWp13lUimgcnF6mX9oGQuB11K36kiXcYWBseZHVymBqf0UfA3qCmfsf5i4K+S20 xw6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6onZmQzOzTUVxLoq6PYi5yWge8qbTLIuvhUFhRpmHVs=; fh=Z9P9wiEEpQaO/+vzevVz4Zll/BvU8DBfj/znlC01VUI=; b=zqkQ2C1os9OsbrksPTGcS3rW/JRIq0XqXOpbypyeJxjcg67r+At96YUzANiKQUkNbi q7w55cBFSW0GiIRIw3Ur0JtLE5I3c6TmuohSQJvX8EghK0cQizFiB7cvwNZ84k4eXaSI pKjcy8xNf4u6ANW0p3KfTR+hHEIyHPydrBc41hhq8Yzlwz62Ru8nO/uPNmHltz/XQsvi FVSM91CWBLnHIWAIIqSJTNf+prKHrIgG73/WH1iK1YIIypjbtI4MWAF/vJYPrlTKX597 f7h73lyEXN8xUdgQ+GvrMVlnLiWqvOlQOdvh1TpOTv5NzBwGz4uRXfsyeCyJGwyimOHj ve/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2o+41Bo6; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-61938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCXQCkulEpREKR1arrpPThCwfT4asBfXTVK1+0/Jgi0E4PIqO/pSXu6qxL/f7HuDCyP3amIUGBLcEGFHshBLdlemSqPeMycc5QUPBHwwZg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f32-20020a056a000b2000b006dde0df984dsi5097654pfu.95.2024.02.12.08.09.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 08:09:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2o+41Bo6; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-61938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5293F2821C9 for ; Mon, 12 Feb 2024 16:09:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27EA53D0BD; Mon, 12 Feb 2024 16:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="2o+41Bo6" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBBDE3D0A9; Mon, 12 Feb 2024 16:09:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754142; cv=none; b=f87YMEjNBUvQ0Qu0n12WboJOkOjoqSpppGA8pNroD+E6rIAWfrV5MrdnIp/ZCvNfxsvFPgrZYXhT5OJTnjr8lNwTkXxnmAU/OoKcz2i+Gy+qYV3k8c2E4Yq/hCUpvyvCnZyovg2fxvmwkCmtZRMXxbSFKpCqF5CxD4fz2101qek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754142; c=relaxed/simple; bh=lFQ13ZdkGLoXG1jizC4q4UNS8hJ2RH6AqRXJj1aalVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dqPaE1q4SueryUVL+m0TWICR5kEIqD4FkumKfTakMWoQEwKOdOab9DQ+D/pvtcsGZnA667CB+/0nZoTAm7QnJT++JDV43Q/5H7Ry9C3dBK5m9jUu45KtzB2euXwTBS4NIvsAZjadxAMp2KB1rNTC/LegSjpoShRteFRUX7QmuLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=2o+41Bo6; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=6onZmQzOzTUVxLoq6PYi5yWge8qbTLIuvhUFhRpmHVs=; b=2o +41Bo6FmLs3CFKu7/PnppPbXJlVbPahVnWc8gQAehr0FYkL6JCAvclXwJ73rbToYbNuTK3lX8NnMh faq2sh3kD3SaMYmJrC0akBsQOya5VPkaj/o6Jm/FlknDTPuKtoLrS1Cr/Oe0xjxfRKJQOnpbXk0Ok lNvfbw7RV/jVIKQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rZYra-007aZq-AW; Mon, 12 Feb 2024 17:08:58 +0100 Date: Mon, 12 Feb 2024 17:08:58 +0100 From: Andrew Lunn To: Michal =?utf-8?B?Vm9rw6HEjQ==?= Cc: Shawn Guo , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix the QCA switch register address Message-ID: References: <1707751422-31517-1-git-send-email-michal.vokac@ysoft.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1707751422-31517-1-git-send-email-michal.vokac@ysoft.com> On Mon, Feb 12, 2024 at 04:23:41PM +0100, Michal Vokáč wrote: > The switch address in the node name is in hex while the address in the reg > property is decimal which is wrong. Fix that and write the reg address > as a hexadecimal number. This feels the wrong way around. The reg value is used by the kernel, where as the node name is not. If the reg value was wrong, the switch would not be found. If this file was tested, why did somebody not notice the switch was missing? Do you have the hardware? Can you confirm is really does not work without this patch? Was 15b43e497ffd never actually tested? Thanks Andrew > > Fixes: 15b43e497ffd ("ARM: dts: imx6dl-yapp4: Use correct pseudo PHY address for the switch") > Signed-off-by: Michal Vokáč > --- > arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi > index cfb0fc924b42..5763f8253d51 100644 > --- a/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi > +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi > @@ -143,7 +143,7 @@ > > switch@10 { > compatible = "qca,qca8334"; > - reg = <10>; > + reg = <0x10>; > reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; > > switch_ports: ports { > -- > 2.1.4 >