From patchwork Thu Nov 14 19:10:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21518 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 92EEE23FE0 for ; Thu, 14 Nov 2013 19:11:12 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id aq17sf5296684iec.6 for ; Thu, 14 Nov 2013 11:11:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=vdgxd8En831dmq7zeJVLiiQDgdlvSRM4Jfo4EPll6Sc=; b=JxGKHaZkGtdPNAhr8bM955Ofcc2/IVhtGeuaK8jSMcalPFPKLQMwrISAjn540dxcL9 ITggYSrZHcTvh3I9ZIJZ2kYmYNV0PkZUpbKYYzuK/reSIaopXJHAFQebOQdiNaVac/EV V8+yYzGt2NYSPwulirIKnB2jHDyeBwgVrhxHIP/43YA267vx/RGVOQ2bjapEHo0FDiLu suU8SJYz6qIsA7eyPc1M6gAbxvzGJ8ogr6a1W+2R5FhShyua0YaGZGeVgJmgX7xdN9/D 01FpnYQAkeI2CDmc1n/XeCrgmIeZtKgh5jAU9wEYWGP0H1O089cTgdeob5TZlPT/luYf 062Q== X-Gm-Message-State: ALoCoQlihXJFgNw/Td1cFLWpTf1fm5ZdIG0p2XKnyCxWZB/5MMfcDRbS6ZIDgWexdQUpAnnu11Hi X-Received: by 10.182.66.193 with SMTP id h1mr1148737obt.47.1384456272280; Thu, 14 Nov 2013 11:11:12 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.6 with SMTP id f6ls1133370qeh.3.gmail; Thu, 14 Nov 2013 11:11:12 -0800 (PST) X-Received: by 10.52.28.139 with SMTP id b11mr472543vdh.59.1384456272206; Thu, 14 Nov 2013 11:11:12 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id tq4si17670529vdc.77.2013.11.14.11.11.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 11:11:12 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id x17so2060284vbf.12 for ; Thu, 14 Nov 2013 11:11:12 -0800 (PST) X-Received: by 10.58.246.136 with SMTP id xw8mr564093vec.41.1384456272089; Thu, 14 Nov 2013 11:11:12 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp339956vcz; Thu, 14 Nov 2013 11:11:11 -0800 (PST) X-Received: by 10.60.98.69 with SMTP id eg5mr3142682oeb.42.1384456270929; Thu, 14 Nov 2013 11:11:10 -0800 (PST) Received: from mms2.broadcom.com (mms2.broadcom.com. [216.31.210.18]) by mx.google.com with ESMTP id n6si4141046oeq.43.2013.11.14.11.11.10 for ; Thu, 14 Nov 2013 11:11:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.18 as permitted sender) client-ip=216.31.210.18; Received: from [10.9.208.57] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Thu, 14 Nov 2013 11:10:31 -0800 X-Server-Uuid: 4500596E-606A-40F9-852D-14843D8201B2 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 14 Nov 2013 11:10:58 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Thu, 14 Nov 2013 11:10:59 -0800 Received: from mps-infra-lab3.broadcom.com ( mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 4F4F5207CE; Thu, 14 Nov 2013 11:10:58 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 03B2F4589FB; Thu, 14 Nov 2013 11:10:58 -0800 (PST) From: "Tim Kryger" To: "Christian Daudt" , "Rob Herring" , "Pawel Moll" , "Mark Rutland" , "Stephen Warren" , "Ian Campbell" , "Daniel Lezcano" , "Thomas Gleixner" , "Chris Ball" cc: "Tim Kryger" , "Device Tree List" , "Linux ARM Kernel List" , "Linux Kernel Mailing List" , "Linux MMC List" , "Linaro Patches List" Subject: [PATCH v3 2/8] ARM: dts: Specify clocks for UARTs on bcm11351 Date: Thu, 14 Nov 2013 11:10:37 -0800 Message-ID: <1384456243-27053-3-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1384456243-27053-1-git-send-email-tim.kryger@linaro.org> References: <1384456243-27053-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E9BFFAD4RS8193337-01-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The frequency property in "snps,dw-apb-uart" entries are no longer required if the rate of the external clock can be determined using the clk api (see e302cd9 serial: 8250_dw: add support for clk api). This patch replaces the frequency property in the UART nodes of bcm11351.dtsi with references to the relevant clocks following the common clock binding. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index eca6fbc..9b99c52 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -43,7 +43,7 @@ compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e000000 0x1000>; - clock-frequency = <13000000>; + clocks = <&uartb_clk>; interrupts = ; reg-shift = <2>; reg-io-width = <4>; @@ -53,7 +53,7 @@ compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e001000 0x1000>; - clock-frequency = <13000000>; + clocks = <&uartb2_clk>; interrupts = ; reg-shift = <2>; reg-io-width = <4>; @@ -63,7 +63,7 @@ compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e002000 0x1000>; - clock-frequency = <13000000>; + clocks = <&uartb3_clk>; interrupts = ; reg-shift = <2>; reg-io-width = <4>; @@ -73,7 +73,7 @@ compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e003000 0x1000>; - clock-frequency = <13000000>; + clocks = <&uartb4_clk>; interrupts = ; reg-shift = <2>; reg-io-width = <4>;