Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2382148imm; Mon, 24 Sep 2018 03:29:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV60cRyCwZO1dQJ7juzHSFf3Aa/UJgBjvnJdIZhyNAsbHGuictgq1w6qFGdDfLcQzMVOnmqJS X-Received: by 2002:a17:902:b94b:: with SMTP id h11-v6mr1717496pls.221.1537784984850; Mon, 24 Sep 2018 03:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537784984; cv=none; d=google.com; s=arc-20160816; b=0wwKeMqD9nuf4q0jcibAxihStjD2OsIe8DPl2xiHPnfwIac9I7nAewRaSueeWSs8se YZ0Evlf1njhp4VCUwxx9MnE9ccbDhfSTbp04Val2MYRDNBCHH4JKIgYZy3W1OxvzEjN8 EyblcDi8xmqNlh92Tb1RNS2nGCW9HmfIt2lu5Vpc3wx3k7WsLsUxHCJdw5Kkgd6OsI3J b4mC3TXjEXLO34K2yucpD43DonpjHEzG7G1ZSooTL8smK7mMPIp/ydzkFsSA7354+8k3 LaYQiyzEGLcubuByV9a0YojkbTY15hXu7Ux46JXS9cZ6iNyeYVLR4I5F42aleApBQcmr KWZQ== 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=qWYChIHnzwHMpncdtzOefN0kPgspoSdtCCEwHJFqD/E=; b=ViSu/rcH1X/+q2FlViYfXHicpeZ7LP5Vfm2Zio9yDz/Jq5Bs6JK9I81baLf8EBWkdP wq2vUXGLBl0qMKVInyMNPvypJf0lf1olaTXiQozwmKRUNm3OYA/sQAzSeZHnMRppb80n xnSQvmjZ8FrB27jHxhu2AtOK/qObSjs5VGGN3MLOhnAhfSpL8iqeQf4xUOLuz8BSJs/M deWEyPcHzwx+UNcOSch+MV8z05yEQwXcmuuCLFOnWu4pDDk/qrIluxge2iMcETA6GMkB kXm3h7pDyENyzrJuaUeuIJnGMOEidiI6JYaAeNHK3y4sgISZgNt2W6i9v9uQH0aYtysC j1kg== 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 c4-v6si4927354pgn.309.2018.09.24.03.29.29; Mon, 24 Sep 2018 03:29:44 -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 S1728474AbeIXQaR (ORCPT + 99 others); Mon, 24 Sep 2018 12:30:17 -0400 Received: from mga11.intel.com ([192.55.52.93]:19673 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbeIXQaR (ORCPT ); Mon, 24 Sep 2018 12:30:17 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 03:28:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="88803813" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga002.fm.intel.com with ESMTP; 24 Sep 2018 03:28:19 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: Songjun Wu , devicetree@vger.kernel.org, linux-serial@vger.kernel.org, James Hogan , linux-mips@linux-mips.org, Jiri Slaby , linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Paul Burton , Rob Herring , Kate Stewart , Greg Kroah-Hartman , Mark Rutland , Ralf Baechle Subject: [PATCH 00/14] serial: langtiq: Add CCF suppport Date: Mon, 24 Sep 2018 18:27:49 +0800 Message-Id: <20180924102803.30263-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 langtiq 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