From patchwork Mon Jun 14 15:25:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12319193 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=-16.9 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,URIBL_BLOCKED, 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 AD887C2B9F4 for ; Mon, 14 Jun 2021 15:28:17 +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 769B76120E for ; Mon, 14 Jun 2021 15:28:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 769B76120E 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=u2Bocpw9dmJyXhysWgTdHy4cjf/03IdSq9Wey9vaa84=; b=QziMuidvjholxK CiwP6+RNJPXjKYGubiRw22LnsvGpjPBCgXSM/xJRQfEYcJc/v2M1nWcr9YzP4oXk2KO+LYE7EUyg6 ZVMtxh9pfKvRDvWiKlmSYnnCLT/Oi26Ogl6SSOn6Kpo6MpCRPNZP5IqQxzGMZfyy+9HosHh1xtxVO OWsT1Pw1Yel7TqWflOehaqw3FiOMBhpeXB7ag6sTpVLcZ5qYquAi7AYG4WJIT2VJGr2wbAHMA9HLz cFmDIMWnKU+y0VFQ7u1ZAbcS59ChVhqCH7UhFOGogdKft0LAL4o5CTN5dYNfP2YK6+aEkdbkJlSVF 0xEwRUb+R2YJprN2t01w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoTT-00Ej2i-Ts; Mon, 14 Jun 2021 15:26:04 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoTH-00Eiyz-8H for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 15:25:52 +0000 Received: by mail-ej1-x62f.google.com with SMTP id my49so17363277ejc.7 for ; Mon, 14 Jun 2021 08:25:50 -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=XJFjbPhrfegtNfuhhG4/X46/NhufcLg6TAlq0f4ZbDY=; b=VafrduA4pNBvoLbBwUrPmoT93xIdd26m4mmE/choRFD4GegDsDhmCGUlpxa9fXrv3b a+15uTmSBib674P7e18F+ggD8YCFSH3ELUvdVZ7Vqk6AhfAG9n6/Xpp+gTwFiFi2ayS7 JrJUwJDnlR77khiNgFdQaghdOU+zuUGP9IHy+8V+o9DpePLMds3p26e3I719RhPU9wQC ngYrycrMHdiIGpkqySKBKaMlgaEOaUzGYEommx0vqdksCLb8G9TCwK8SbzvLSZ7vQBwW WIPPnCe4GXriuhpocHXqBo1PEihhv51I5dHpbQBVDND7BdRfjQBnhzSK92/MFpuWu5z0 JBhQ== 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=XJFjbPhrfegtNfuhhG4/X46/NhufcLg6TAlq0f4ZbDY=; b=DZnhNbsHBOmp/E7qMKeQm2n0qHgDBGGcglY8p9nhcZ0xAmNERVS9UZPjRAbnFiBdjr CBzJkjw3r3a6h6y44S7X4hjRF8ahe/CZ5X8dPVKjLO05YMbaGwa9aSmAzEUUCcCp60x0 rfKCJz1pelZvrnvm8Z1QvdG1v7PSzvQ4Z/ou3TATowr6Y7SFUq+r19hBiEg0g4X1pC9c kVQN/WqMEJxdAskY9hshYAsY4zNB2ROUPn6Z2IqKRaL0Cr5zAJe7KxkbiR2w9d8ZQY08 XXCuH9zmMvRVXs3cjrb9bFLAF93Im2BAdtLzOsKeznTEtcVj188WQC7pZVDe6SkPmrPq Pvmw== X-Gm-Message-State: AOAM533dKZTCskMYtr0exuulvdYqyZjHXKqyqcOHeDQO8XxRCacd63CN Bx3pTUbhn42b0chm8/gJuCLPMQ== X-Google-Smtp-Source: ABdhPJyQHh3TvhJ7fivhs429FHtuBrUkssK0kbjeqyU1rPXFu8sbhnz11EV2J/9Sl6sD55qn+crwlQ== X-Received: by 2002:a17:907:9487:: with SMTP id dm7mr15621754ejc.349.1623684349246; Mon, 14 Jun 2021 08:25:49 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id br21sm7574230ejb.124.2021.06.14.08.25.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jun 2021 08:25:48 -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 v2 04/33] arm64: zynqmp: Fix irps5401 device nodes Date: Mon, 14 Jun 2021 17:25:12 +0200 Message-Id: <10bf5f9e7a18579626fb1850e3a8a7476ba6f2ed.1623684253.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_082551_342439_C5D00B42 X-CRM114-Status: GOOD ( 12.49 ) 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 --- Changes in v2: None 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 */