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: 460010 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.8 required=3.0 tests=BAYES_00,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 AC8EBC48BE8 for ; Mon, 14 Jun 2021 15:26:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94061613EF for ; Mon, 14 Jun 2021 15:26:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233288AbhFNP2E (ORCPT ); Mon, 14 Jun 2021 11:28:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233427AbhFNP2B (ORCPT ); Mon, 14 Jun 2021 11:28:01 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B484C061767 for ; Mon, 14 Jun 2021 08:25:50 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id ci15so17360940ejc.10 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=J0l/pKAFlAlvKTA5JxHj0dkjcg8OvARlBx5qJt4gQSyWa+Gqbb/HhvOnW00p/uaaTG PH40CAzvdrOhtVY/cGpnjP34GyogBv9RMv3GyhjPlnbBo3CtNBT/gVpLlokxy5kC6JcO SkwUrC+mKm/bLxHESlfsUhGxk28aKBXp1LaVpFaU3VHc3T6jh+WnMYm8YfcfxK4dokCo 6eUmmtyGyHfSmRt5/BC4ggji6TX0IpqYBesyuVOha1nEUfN6fUQEKoTzqK+7VjoDPiGF 7xCehTaYvR1H4TwMs155vZDZ+2JQD/SS5QovR2qfW7iRcFMz95m+EdgLZ7NNi7qNHfwC P41A== X-Gm-Message-State: AOAM533tsAXhLQGGUPtXnO+XoZ35a5xhTD3CObxTv7cHHJatOA0R2Ja9 BByttpiQBgsqdJ0DClBjewT6uw== 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) 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 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- 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 */