Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4930115imm; Tue, 16 Oct 2018 02:20:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV60j1jLwL5ZXiShMCOYfccgnKcuMfaehARsenqQ3htF5oOTQYPw5ns+YEnPA42GJ/rHMXyoM X-Received: by 2002:aa7:8281:: with SMTP id s1-v6mr20895375pfm.63.1539681625140; Tue, 16 Oct 2018 02:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539681625; cv=none; d=google.com; s=arc-20160816; b=MaDi+oX+OFOuqdghWfMJahN/JYDPXIVw63l6AquWEvF5f8QS02R31ynrfD6gb3Iija vjBPASDnwBvFgbGO1ezQYHAUMcXlvbLmx1+84TUu+uBVDlhcedoX+SP5lq87tss7qdRD aWtQ8HUWVnnxG+kvI9cdlbgUmFazQi0ZQpDHhUgVoeADuahwUN4g9HDyR9Uemrr5yfw+ WooFS9V0jO/foURzubLWhHtqAIfrSiU+kA5iEdj7Mls6v+0hjMSggkRN2gj1pCYLgfjP Tk6YtDHWlb4uc+aD8k3jNp2+4avEnRc40RH/L4Qjaviyn+npM5DXSLvzfi2Tkzp32apr JwEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=y/tTx+OBcggdBQIKJ4d1ooy89vQnnHkgyJv4RRizzYQ=; b=dsFYEnAMxhiLphmUQw6zHXHYaimWyrAn9ejF+eQiFWyMPKBk4/Me19lhcMoRDj5mfh y0VUqCYfIq1ZYWHqY/3wgGZ3LfpTa1ceGNDi8fDO7GS/auSPYaGbMuFJ0hk4NTIhmt1B zU3NnqPsWVW+d70k7PZJ9NmuLPJHB9L38h/hn0U7AsrY3oqGvgBTkJhJU3MhDNEvGg2W +vhNw901bdNgvdRQQ7gPKiUG8SbrxYXl/jlcv33zjdeRvf6BGC52fistMkjuvNzl9vZU WMJpIToJuKTi3FeAeAHv+c4NsCqNug6YVtso2U1L5A3u/T9QWkzd8SunapNinSXVC3gS fsxw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u22-v6si14578658plk.293.2018.10.16.02.20.09; Tue, 16 Oct 2018 02:20:25 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727075AbeJPRJG (ORCPT + 99 others); Tue, 16 Oct 2018 13:09:06 -0400 Received: from mga17.intel.com ([192.55.52.151]:41527 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726986AbeJPRJG (ORCPT ); Tue, 16 Oct 2018 13:09:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2018 02:19:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,388,1534834800"; d="scan'208";a="272803445" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga006.fm.intel.com with ESMTP; 16 Oct 2018 02:19:33 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: gregkh@linuxfoundation.org, paul.burton@mips.com, jslaby@suse.com, Songjun Wu , devicetree@vger.kernel.org, linux-serial@vger.kernel.org, James Hogan , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Rob Herring , Kate Stewart , Mark Rutland , Ralf Baechle Subject: [RESEND PATCH 00/14] serial: lantiq: Add CCF suppport Date: Tue, 16 Oct 2018 17:19:01 +0800 Message-Id: <20181016091915.19909-1-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is for adding common clock framework support for lantiq serial driver, mainly includes: 1) Add common clock framework support. 2) Modify the dts file according to the DT conventions. 3) Replace the platform dependent functions with kernel functions Songjun Wu (14): MIPS: dts: Change upper case to lower case MIPS: dts: Add aliases node for lantiq danube serial serial: lantiq: Get serial id from dts serial: lantiq: Change ltq_w32_mask to asc_update_bits MIPS: lantiq: Unselect SWAP_IO_SPACE when LANTIQ is selected serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32 serial: lantiq: Rename fpiclk to freqclk serial: lantiq: Replace clk_enable/clk_disable with clk generic API serial: lantiq: Add CCF support serial: lantiq: Reorder the head files include: Add lantiq.h in include/linux/ serial: lantiq: Replace lantiq_soc.h with lantiq.h serial: lantiq: Change init_lqasc to static declaration dt-bindings: serial: lantiq: Add optional properties for CCF .../devicetree/bindings/serial/lantiq_asc.txt | 15 +++ arch/mips/Kconfig | 1 - arch/mips/boot/dts/lantiq/danube.dtsi | 42 +++--- arch/mips/boot/dts/lantiq/easy50712.dts | 18 ++- drivers/tty/serial/lantiq.c | 145 ++++++++++++--------- include/linux/lantiq.h | 23 ++++ 6 files changed, 155 insertions(+), 89 deletions(-) create mode 100644 include/linux/lantiq.h -- 2.11.0