From patchwork Wed Dec 2 14:06:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11946183 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=-18.2 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 AE4EFC64E7C for ; Wed, 2 Dec 2020 14:07:59 +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 3F66C20709 for ; Wed, 2 Dec 2020 14:07:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F66C20709 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=xUUIK9oT//ijX1zI3S2w7NISlJvVwTR53qeE6TPxxwE=; b=0LlHeHzBWIUukWPq4bTbxIG8K 9VjjQXX995L64uowroaYzi889+rtK7V+cHXt/osKM3uy5mclTTrl8QOoFbEmP0pKvKIbniNC4SjXc j4Nw9jcdflKIwcROC1feUDefIz4A4KqdrWSSnyWa3UNNxvKpihHcn77YkBC59EfC1rkNkylAINjxY sFHKjYeMCnl1g+JKj/KTUMPMPRgvPH3T+QOS84DpLx/PCjWVbI/CKoUdC0hxQOhxG2frTZCWxB1YO PU0NsmYZPLS0eVyt8SpoW1yI2IMPAoy5xZB/UEFnSIdEizwcvhit03FCev21Sefj5j+m5r4SEJtU5 X9Tj+2X2A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkSm3-0007DQ-0h; Wed, 02 Dec 2020 14:06:27 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkSlw-0007BS-Sk for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 14:06:21 +0000 Received: by mail-ej1-x62b.google.com with SMTP id 7so4540182ejm.0 for ; Wed, 02 Dec 2020 06:06:20 -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=1ZqCiWie0X6dYLWiXiDsF92YNK3DRTjdp8U9Zg3LS4I=; b=c5uAiOA1bGp3aew2ryi5VqAuYQxpY1qkVYLEpfmNGTTMDFcMBf7EqKjpG8uo+D5co8 gOwW9s9iM9bPTEqbhp4ZmElr/sAlyLVfvaITT3un30TP6fZSslaGL4slHnduLRUtVZsN UZtuw6ljxPCtGRWR3GtJOuBPGpQAbTvY7hl+thMNHRf7dsp9rarnWe4EiUHau56jV4AH NmFqfQM3sxDdV3jNxghB6it1YAO/C54g5v0NasRQmavI6mC7VD73X1+49IkGYQYyt+NE UoWpFtqTxJFYf/MbQvHE4ZQDN4XA+y2qgFzrWFQY0mUGxuIi74OhYWrvFf1FGV7TCZzE 0qpQ== 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=1ZqCiWie0X6dYLWiXiDsF92YNK3DRTjdp8U9Zg3LS4I=; b=Ny3HnObtq9pwDzaIf5MVbb2RMrnX8uu78Q5jlC1QvGN3Se6RXsh7NiqOk1rPbQYJUT wPxF9dZWhA7tnCH5mk67ZjAvhDz8ZcL2eUCrjje/frCuClQMiQPh4lh5joW+3Ov+NQcc pCa5Avf9blN+FIYKlmvDwwDsu2xM/phvrpCDBgKdHVM7xUJ4tDd6COOMtQtMFlH+oMDi oQcBAjRqSOr1jOreq5q1faBf6eJmULp0oI+ELTGTRG0nAgwbfxgSjjjFRkP5YAwVIbs1 NtbKZgrYTdq/EAGUe7Rf5qWarQbZz6H9iCdBBhiQUhQSZG/GjD+Y8o8eSHjXn5gQwRSL 9VOA== X-Gm-Message-State: AOAM5330GP0PuiOTQ1dRN5Vh3VneeCJD3tzOSQrbfbgBjCJdKScbSqNw Q4TcsTd969rcM5Li1ynk4YdOYA== X-Google-Smtp-Source: ABdhPJxZtV1AZTwUlSPGhalqThuLlka/V0nj9X2YtpRCkiU76k1gucd90YWEpDqVokzOC9EzfQ1lVA== X-Received: by 2002:a17:906:1752:: with SMTP id d18mr2492675eje.529.1606917979213; Wed, 02 Dec 2020 06:06:19 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id l25sm1300638ejz.84.2020.12.02.06.06.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Dec 2020 06:06:18 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 02/12] arm64: dts: zynqmp: Add DT description for si5328 for zcu102/zcu106 Date: Wed, 2 Dec 2020 15:06:01 +0100 Message-Id: <2113c593f38bf347468f1416ef197595e18be3fa.1606917949.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_090620_977275_374A19CC X-CRM114-Status: GOOD ( 14.78 ) 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, Anurag Kumar Vulisha , Rajan Vaja , Krzysztof Kozlowski , Rob Herring , linux-arm-kernel@lists.infradead.org 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 --- .../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 {