Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5044030pxj; Wed, 9 Jun 2021 07:57:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2GmqR9d6UxxZBPf/chHy2cJPrZ/aLvd0bfrdl1E2/CdNTc0sQJGJGpSOKQE4oJKfqSqRE X-Received: by 2002:a17:907:75ee:: with SMTP id jz14mr281392ejc.524.1623250663330; Wed, 09 Jun 2021 07:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623250663; cv=none; d=google.com; s=arc-20160816; b=IMjUGjETmTi+qQ57nUHRnTw9Tsul5DYWhxZ7kyENsOoxL3LU/xWpF5nDEuOMCmXcBc qRSyKAXK9NiPFgv6PNxMgSq5Z4HiTGU5DXJYkGBKLpf6fxlfZ6S7XUNbf7zZBS4ynpwS +45GHijI4taZC+l3OxBSwe0hTFY4CDR+BNiyTuAeuHHKoawyfQD4cAVndKSyjAxCBFlO nzx+5MuTnKruUq2n1wEHsT1aUVvJLcmtu5Onwx4FnT1QDBSKoyUadIJLH6bfuWt1nOdr okSlqq1UV2W+NcaTA9HJ2CBsUg0enQc4G6uvpJyXg1wlZMi+I+OoTHU6eNkZYXwU1rvV g7Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=R/3HZeObvFzaodz0f51dPqwRxwzWlJkXtgOWwyFJYTE=; b=y0N6VAmkQQevhIVa3dTa53avc6yK7ZqBwt+UvvGfTO8k9KjjFKXFzUngaW8QzyssU1 Y2HnFV2vyA2B+TSlg7jdlhc/lMR3yyS6tanq6ZDdPYiGYFVeu76JIa+MR6rJv66OxVo7 ipKedxJVEzSmPyC5YH/u5/rrCI/DMouVJCHk9GWLNeKX5jZqn0wg8D80ARax+P52rQTh YNQ71uLN4f3F2xxbWaYW/JI1CzMhMCNGDa9JEjGWAuhl9IHHT4rV7ziCXzooINh+PC09 IFVh8FjRY1acsPenWH83TVNZcVqtOz62Gm61aS6HqyDqy/Pp3l3b7txRCQ17oIRCiYzw tLow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=Jh1Zfgwe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t23si52999ejj.290.2021.06.09.07.57.19; Wed, 09 Jun 2021 07:57:43 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=Jh1Zfgwe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239511AbhFILsi (ORCPT + 99 others); Wed, 9 Jun 2021 07:48:38 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:41639 "EHLO mail-wm1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239162AbhFILsX (ORCPT ); Wed, 9 Jun 2021 07:48:23 -0400 Received: by mail-wm1-f42.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so4024623wmq.0 for ; Wed, 09 Jun 2021 04:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R/3HZeObvFzaodz0f51dPqwRxwzWlJkXtgOWwyFJYTE=; b=Jh1ZfgwevTKVlcRoffLLON05ol0p1wNKWclXF76B9EE9LwKMs+A8lNSPwR6E50vbxV WDUb/gM6c8Gg42Nv65TKHBYr0bTV7UrLSQhw7n76itx+9nfRrTVt67mNTlct3e/8vwKt 2OqxtICfk7R6+Hno/mSuTLyFQqKtmhBou+0JS+YSvx7CLEUlRXdcJm14vxe3IY0Xy9n7 g49oZOhBhjh8gtZzIG3E8OT+uFDmehmYmS88m8N2Ju0dYkuA3kuVSEC5i5TIK9BvxNOK 0dyGqIh8PSo8OGh2xlJaceFfNKVYwUXQiNICCS8dW+RXwbs9h361duUsOliDlwyn2hWx SwIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=R/3HZeObvFzaodz0f51dPqwRxwzWlJkXtgOWwyFJYTE=; b=ZNg9wImurI2YzZxkpukseSMjir1Xtbk01PNLbUWYaDh1/XPblP2yIbdC9p9zMLY+2X 56DYU7xFQpj5AcZDukqZhK7FDJtGpYGLU1k8TghdP+K2r7RqNuQbEUaQ0o4m1esfV2Jv /9pRjLM4vFLiCYFraJ7XuyGua9bkSaxxTN3KF+KbWtDW0ONCPo4P/EWBqJbsRVG0NXC0 7rwS/VEX4cqVzRRW3L907reZ5yYfkiiNAxhEQvv4Q6Weon73/HAdWVwHoLE2ehHC3c7i ZZ5Fl543jsxni+ewj1buavB7BI8IkDKYKZxEuarDTTCYM6ZqYa1+YpQEPmTaIwHtzdj0 wjJQ== X-Gm-Message-State: AOAM53238wb+a+w69AJY52YG4hore0XSpWNxAJYDrOBCYVDlmZJfXFld g7sS+9bTx2V8Q8Uj3BEkk8CnebFI0SuxrqEk X-Received: by 2002:a1c:7c13:: with SMTP id x19mr9399617wmc.96.1623239127802; Wed, 09 Jun 2021 04:45:27 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id o22sm5810994wmc.17.2021.06.09.04.45.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:27 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/31] arm64: zynqmp: Fix irps5401 device nodes Date: Wed, 9 Jun 2021 13:44:40 +0200 Message-Id: <10bf5f9e7a18579626fb1850e3a8a7476ba6f2ed.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Add compatible string for irps5401 chip. - Do not use irps54012 as device node which is not correct. - Fix addresses of irps5401/u180 on zcu104 revisions. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 10 ++++++---- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 9 ++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 99896db6b8ca..5c35edd736aa 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -157,11 +157,13 @@ i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; - irps5401_43: irps54012@43 { /* IRPS5401 - u175 */ - reg = <0x43>; + irps5401_43: irps5401@43 { /* IRPS5401 - u175 */ + compatible = "infineon,irps5401"; + reg = <0x43>; /* pmbus / i2c 0x13 */ }; - irps5401_4d: irps54012@4d { /* IRPS5401 - u180 */ - reg = <0x4d>; + irps5401_44: irps5401@44 { /* IRPS5401 - u180 */ + compatible = "infineon,irps5401"; + reg = <0x44>; /* pmbus / i2c 0x14 */ }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index d4b68f0d0098..68b758e40f80 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -326,13 +326,16 @@ i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; - irps5401_43: irps54012@43 { /* IRPS5401 - u53 check these */ + irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */ + compatible = "infineon,irps5401"; reg = <0x43>; }; - irps5401_44: irps54012@44 { /* IRPS5401 - u55 */ + irps5401_44: irps5401@44 { /* IRPS5401 - u55 */ + compatible = "infineon,irps5401"; reg = <0x44>; }; - irps5401_45: irps54012@45 { /* IRPS5401 - u57 */ + irps5401_45: irps5401@45 { /* IRPS5401 - u57 */ + compatible = "infineon,irps5401"; reg = <0x45>; }; /* u68 IR38064 +0 */ -- 2.31.1