From patchwork Wed May 11 09:52:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1629531 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=PIoKX0XG; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KyqyP5Bm9z9sG0 for ; Wed, 11 May 2022 19:54:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 339B484329; Wed, 11 May 2022 11:54:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="PIoKX0XG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 532A3842F0; Wed, 11 May 2022 11:53:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E4450842FA for ; Wed, 11 May 2022 11:53:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x535.google.com with SMTP id t5so1821671edw.11 for ; Wed, 11 May 2022 02:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qK70kozUsgou8kK0oBTYfhBJb1f/Vfa1d0hmChpxD2w=; b=PIoKX0XGqEuDG9zVnnKnwzPuD2aBESoI4vZix/EJYeyWsTSKyIl/jgwyEZnoVoz7wZ ifBIeEhiIFc9B1IixSt+8SPS2VGIsV1VvHJVojxTn2yfHTWvM4MbxRyUnpJVTUmZT7VF Hwj9dNfpkDsqP2Blmx5f4mk8Jd39DJ5R/5jc9KZ0afnCM/UmK512y2dM1RRibjfoGxFC SCmxMH8nMY/loPtYx7sS9ho6STEG1wOzqSyQvH2Ob95YbE8vWz26Z4nNwPeH0U/cFp+h NWf84rYHvw1Irs1GYx9Psq1qzHPLj9wsWIPIKqZXDEkxpy+BlZHnmoD4EEgs9xT5zyfm gRBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qK70kozUsgou8kK0oBTYfhBJb1f/Vfa1d0hmChpxD2w=; b=zukb+Rba/wLnej721Ru+miJbQICcK0GQkq1sdUa2mjTNzeabD9Ci0s55IB2Zb1xPDi mi/XIG4/ew9d5tfVadT3XWIXAK3r9xLdVM9YKYanSkPlalEvDnW5OnhTTpz9r6oemsDW AYwy6hpvOR5/evbQ7HOt1XsyU57XjojuAI0fpG4UzfdkFd3+56LNv2mLyr7+Xa+GH7+u nW7VGd7LXQwncgXXPYXYGDaewC3NJCQnnCn2XlvG/uRzgZeL0AEw7eTFKyXv3Fc9VqHv EUhlub5ye9agLXtP4v6XIGOam855NRHf6hDakJfAwTWL+nZOIOQ1lbwU97DAzuAKZpFP Q6bg== X-Gm-Message-State: AOAM533sfn3u4gqcsqPtRkLnZWn7hK68fqNgNn3oS7c29HYTZ7sA5kD8 zCnrRK0AaPI3Vc6q9HesIurwx62GEEf0XA== X-Google-Smtp-Source: ABdhPJyM8o3EYV+xR3C+fXuOqYHzDD/PD60ZQMotId/ONb/6g74pz1c9nQ5RB7s5319ozVXscAh+BQ== X-Received: by 2002:a05:6402:3593:b0:427:e6d6:9265 with SMTP id y19-20020a056402359300b00427e6d69265mr27952705edc.402.1652262790312; Wed, 11 May 2022 02:53:10 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id h20-20020a1709070b1400b006f8c8e43a45sm777450ejl.103.2022.05.11.02.53.09 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 May 2022 02:53:09 -0700 (PDT) From: Michal Simek X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 10/10] arm64: zynqmp: Add DT description for si5328 for zcu102/zcu106 Date: Wed, 11 May 2022 11:52:54 +0200 Message-Id: X-Mailer: git-send-email 2.36.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Michal Simek Origin DT binding just specify driver but wasn't aligned with DT binding which came later. Extend description for zcu102 and zcu106 to cover latest binding. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 21 ++++++++++++++++++++- arch/arm/dts/zynqmp-zcu106-revA.dts | 21 ++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index aac798d6e74a..c13b52a6aeaa 100644 --- a/arch/arm/dts/zynqmp-zcu102-revA.dts +++ b/arch/arm/dts/zynqmp-zcu102-revA.dts @@ -604,7 +604,26 @@ #address-cells = <1>; #size-cells = <0>; reg = <4>; - /* SI5328 - u20 */ + si5328: clock-generator@69 {/* SI5328 - u20 */ + compatible = "silabs,si5328"; + reg = <0x69>; + /* + * Chip has interrupt present connected to PL + * interrupt-parent = <&>; + * interrupts = <>; + */ + #address-cells = <1>; + #size-cells = <0>; + #clock-cells = <1>; + clocks = <&refhdmi>; + clock-names = "xtal"; + clock-output-names = "si5328"; + + si5328_clk: clk0@0 { + reg = <0>; + clock-frequency = <27000000>; + }; + }; }; /* 5 - 7 unconnected */ }; diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts index 03624648cd71..6dfc8fe17bf2 100644 --- a/arch/arm/dts/zynqmp-zcu106-revA.dts +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts @@ -593,7 +593,26 @@ #address-cells = <1>; #size-cells = <0>; reg = <4>; - /* SI5328 - u20 */ + si5328: clock-generator@69 {/* SI5328 - u20 */ + compatible = "silabs,si5328"; + reg = <0x69>; + /* + * Chip has interrupt present connected to PL + * interrupt-parent = <&>; + * interrupts = <>; + */ + #address-cells = <1>; + #size-cells = <0>; + #clock-cells = <1>; + clocks = <&refhdmi>; + clock-names = "xtal"; + clock-output-names = "si5328"; + + si5328_clk: clk0@0 { + reg = <0>; + clock-frequency = <27000000>; + }; + }; }; i2c@5 { #address-cells = <1>;