Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp498686imu; Wed, 9 Jan 2019 01:13:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN7IaYvtY8p6gAbvMQqNJCdFFdlauLsRvAf6EnnuX3Hm3OKMssqYVuM/99e8EecmsVNQm/k3 X-Received: by 2002:a63:7306:: with SMTP id o6mr4562009pgc.343.1547025181794; Wed, 09 Jan 2019 01:13:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547025181; cv=none; d=google.com; s=arc-20160816; b=uUO1d9LEJbM2HYSZDwHAKDGmEWooAZZvxk2ZhTXd/OL4Mvb2bjznr/EjNx8bD0EgDg 7ZZM4QN9BKGZDfXA99CIMEm56Cn7jAuGTBDogX00mEIQiBwW2lX8eyf9z2meRXVKZiv/ iC+e86dkbyoeNyNKaZQVunW70b9BqNuShFNp5dsUrdu+D8+4ySUdKXbVXrexhhJIcuu8 RR5126Ebhn8JUNpn/DU/qdO1pFRumzXU5pb67Hs6k/u+m8IduqJcWrhPs3yKBaj48vWa bIV0trK/a2OuqEA38hlA7YWhzzS4Ydamw5IZtaIfYM2x2fAHgKaPpQsW/MW43Hxwm3Xp oa1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=F33iTF+6ocunBypeLGUFHJsGIC0hXEgIkfoF9lZATo4=; b=ASsASIIA15lGwsRRwg0TaYC2BOaKPY4G1TMibGkpWy+xNphgDpDzW5ST0FOXRgtYdU kiFqnDqTScKpjh0d3+bL/L9yksdo1dxhFm++z/e+JAn74Dm3Uk2kX1ttzOnSWG3DNbk6 KBCiuTp4CelFANp8yhxLnOqUOxDn/iEMpltXVOZ8ZVUN1vYG/T31GZYg76D8u63IKmLE gkcvgNtvwvHzBijgLVyTtf6bfsksfrR/F3m16yarqlcVGS7okPX1BtTiQvsHbNz/TTe/ WI8MIqAEB5HtkxNmvda5MKTChq0m6+qpcj4jWio5u7kCYb0lgXrgCHkYOHQefAY76/L+ bRnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mlq4JLmm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si3039039pga.556.2019.01.09.01.12.46; Wed, 09 Jan 2019 01:13:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mlq4JLmm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730128AbfAIJL1 (ORCPT + 99 others); Wed, 9 Jan 2019 04:11:27 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:57996 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729875AbfAIJL0 (ORCPT ); Wed, 9 Jan 2019 04:11:26 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x099BJfb041949; Wed, 9 Jan 2019 03:11:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547025079; bh=F33iTF+6ocunBypeLGUFHJsGIC0hXEgIkfoF9lZATo4=; h=From:To:CC:Subject:Date; b=mlq4JLmmaWzrAaJHHi7ysEsEgHOAS4dU4HZrQr8+iSL1WWzfUn5lwmQ0MLziUrDEe ixY3M3VpDvkEyy3RfQM91POB1OR6td+gDDStKIFwZNZy3YEFI+mYGfiK+4T8xHno+l YYW0fM5SkPoYA2EVce9Alv94WrVamJ3qch5G54ZY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x099BJ5b111431 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Jan 2019 03:11:19 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 9 Jan 2019 03:11:18 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 9 Jan 2019 03:11:18 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x099BFBO017497; Wed, 9 Jan 2019 03:11:16 -0600 From: Vignesh R To: Greg Kroah-Hartman , Rob Herring CC: Jiri Slaby , Vignesh R , Tony Lindgren , Lokesh Vutla , , , , Subject: [PATCH 0/3] 8250_omap: use clk APIs to get fclk freqeuncy Date: Wed, 9 Jan 2019 14:42:03 +0530 Message-ID: <20190109091206.25759-1-vigneshr@ti.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support obtain clk frequency of functional clk via clocks phandle instead of hard coding it in DT as part of clock-frequency DT parameter. This eliminates need to calculate frequency offline and populate it. Vignesh R (3): serial: 8250_omap: Drop check for of_node dt-bindings: serial: omap_serial: add clocks entry serial: 8250_omap: Use clk_get_rate() to obtain fclk frequency .../bindings/serial/omap_serial.txt | 2 + drivers/tty/serial/8250/8250_omap.c | 75 ++++++++++--------- 2 files changed, 42 insertions(+), 35 deletions(-) -- 2.20.1