From patchwork Thu Jan 21 10:26:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035481 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=ham 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 6C17FC433DB for ; Thu, 21 Jan 2021 10:29:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 08C4D233EA for ; Thu, 21 Jan 2021 10:29:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08C4D233EA Authentication-Results: mail.kernel.org; dmarc=none (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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=E3qV7ZXd0e61Z8wfT0Pe5qgVG0N6YJ41kTWWngG1Nvk=; b=jdPsgF5eCGxWMkdk9KSckh+/x bzDDom9g3Yx2/NwCC2hS5YpubEiJnsAA8g/bAvNmwFtTmRKWxS5jI+LPk1y2dKPlNMUnk/JrgxJuO UdRfmADLCVw6V9dvq7b80wrGM9NqaGrp39C45wgjc9ZlxmZHuU55zu/IVPPPNQdS/hjUhC1/cKHDM tPG7OztmE3ZzTKP8BAEyhtohCfpCqmmPIRMguKeQ48HGTkXA03eBc68vJTJQ7tpf5+tZBdhpEQPhb fpd/BNViUBfc0cgja2Z1ej9ewoIfLwntiMWNKzcwQ04VbV/7JqP8F5r/hU+UBwhxm/oysPWGCLsrF j4ekh8b+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBR-0004DT-9Z; Thu, 21 Jan 2021 10:27:21 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBG-00049N-La for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:11 +0000 Received: by mail-ed1-x52d.google.com with SMTP id d22so1840286edy.1 for ; Thu, 21 Jan 2021 02:27:09 -0800 (PST) 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=1eHEW+QzC2xwdpZCYQ8B7dxLc9e/zDObheOb3Ploj10=; b=guzBJXAKzZINhmhHwTrjm3eh0IPQZQ7C3LnaL2ALWBfoeUyUiOtXx75JK6r+5Wigpw TLKpctJEAXyca+hk0AC+7ryXiilWnsPI4ybDILjHPjoJyU2d2rzXpPjE/9oEaPHZZeUa xfoND877EpzerU3IPAtyf87+zuvO79I1+iaj/yPa1tevvuBhyzAjn/1xQRF+eC0yqG4w bzoS/BCSRlVepvRc6uQP0qtiJcen7s1CnQzslJmX81J1WjZ+JVXGFfzz3/Rpy8F3ntIT kOSbaUb7/fkaGiArq32yPXy6hMZAr3XO7+a7+SaN7dNv7a9p3esECI5f2tPAAl7asHYv jl+A== 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=1eHEW+QzC2xwdpZCYQ8B7dxLc9e/zDObheOb3Ploj10=; b=b8Ewkh4qNC7XOL3EgG15lZTny7IKeEvjjPOALUEu0qhOoD8d8Y0h4rbMIG5aoDBqQL gcUavYKDn876MkoVD7tlmKGSwl3G1WlDXCVIV8ufrod7ZwQ/O0ObZ7j6NUt3UqGfYgbg KIMRa2H2RgHkUzrPfHW4NlSAvuyzG82wQUJYLh6gf33Q7ZO7TplQWVr+7WwuR/Sp4lSa Z02ybBpBZ6belzaXJacg8GH5d6fij+cMHp9PwAK4BfN8/1c4CGY3IvEZ3G1/Q+EM1Cr+ eYoKz9eg8E5xJJQe2q9WwtqVCd0jmYZKoxRiFG4AVpPwClVTLP0JUWHrdoQGDrkOEQTf At6g== X-Gm-Message-State: AOAM533API+QcFObMP9EOamNzVLVXoVvE44N80fKQZlVV//E77brLlfy nV/CV/6j1D2X7GX4J4rOLwYDgMw8vlowMv9M X-Google-Smtp-Source: ABdhPJwXZ72+lpmAS2fYndbpRecB2/4p1VcDXYFnZ7DWsTNNJRr1y4Zjd3cA2SPjf3aH6MdaYPehkA== X-Received: by 2002:a05:6402:1041:: with SMTP id e1mr11156595edu.54.1611224829153; Thu, 21 Jan 2021 02:27:09 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id u23sm2487904edt.78.2021.01.21.02.27.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:08 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 02/12] arm64: dts: zynqmp: Add DT description for si5328 for zcu102/zcu106 Date: Thu, 21 Jan 2021 11:26:50 +0100 Message-Id: <82b2b13006307f108ace81c50c213c3857078b57.1611224800.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.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-20210121_052710_753892_F11FC1F8 X-CRM114-Status: GOOD ( 14.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- Changes in v2: None .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 17 ++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 22 +++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index f1255f635dfd..5ff7ab665374 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -132,6 +132,12 @@ ina226-u75 { compatible = "iio-hwmon"; io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + + refhdmi: refhdmi { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <114285000>; + }; }; &can1 { @@ -526,6 +532,17 @@ si5328: clock-generator@69 {/* SI5328 - u20 */ * 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/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 6e9efe233838..7910ac125101 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -132,6 +132,12 @@ ina226-u75 { compatible = "iio-hwmon"; io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + + refhdmi: refhdmi { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <114285000>; + }; }; &can1 { @@ -520,6 +526,22 @@ i2c@4 { reg = <4>; si5328: clock-generator@69 {/* SI5328 - u20 */ 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 {