From patchwork Wed Jun 9 11:44:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12309987 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54147C48BCD for ; Wed, 9 Jun 2021 12:19:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B31761287 for ; Wed, 9 Jun 2021 12:19:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B31761287 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JJwo8DHINXEfldTGvI9nNm/fkHRo/IBnhaf39VAL+GY=; b=JmZIuSyGmw77WB oHjCEPaVJjnDCup6ARSdIYUaSjJGSBYfsEIGgXIPdcQ0j1GipA6rl9KU1uAcVTetY5eCdDSNbovy+ FXzD4qs9N/TXrxfL81WnRSr7GFGzGbM2EPM+wbGV5P8anLK5mK+G7FZBrvcBAt24X8aJpZyBupe0J jStQQltgwN9vaOqFBZWrWMSv+X5nMccWX3/5wjDP9bahDZmIu5/u12I2jeJv/ryWAFUM8PGV841R/ yN7hajlzJ6jv4kTn/skrFxnnJtT192W6ZTIYlH96nqnQs40yeFH7Nsn9TixfxMoLcHNYuyiW5BzDn Ro8VNgMjL4DSR89qX4yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqx95-00DcK3-NT; Wed, 09 Jun 2021 12:17:22 +0000 Received: from mail-wm1-f43.google.com ([209.85.128.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqwfF-00DQJ7-NU for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 11:46:31 +0000 Received: by mail-wm1-f43.google.com with SMTP id h22-20020a05600c3516b02901a826f84095so3976492wmq.5 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=N4dtqrS0h1Sch7xalAeQ4wkI0y/BUrhcM0phVK6/a1ACyGPbf8A/T1ptUvkPhPbld3 zuiAqKLu8xiLS9n5hfJg1Ke5awxc3reynDH6NWb1jlbct07Cc0UCojzP4GvbJKNnwWx1 9XC3Z/hKHunE6itAgfDAuSGLmqRAhKQHoHv8S6ZG/WAOzZs6FPVEB7Iz+3J9fWmpONN/ I2s5R4p/BhP7hxwwjgETRufTUngymabeKUv4TKLd5PhAHXSJHoOAiCArO8qWbPoghh/u NjViVek7Pr0/HK2JuE0w0cJePz43WAfRreV0HrfOWKWukEp3xthqg2rlZTKpwv8sSPJA mNbA== X-Gm-Message-State: AOAM533FQY6ZKb8O6qRRrcLdGojwhVu2HQMPIAg7cnBAsDFbZ9el6yNx lH5ILDFTrnMHHbqf7R7/9UaZ8w== X-Google-Smtp-Source: ABdhPJwobdDEXRoGGhM2Kp9aITq138OtfIvhQ2lRd36EZs79rSc6YTuaKJVMRqf9WRWUPFQAjrVbKA== 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) 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210609_044629_829842_369DFF28 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 */