From mboxrd@z Thu Jan 1 00:00:00 1970 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=-2.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham 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 3C023C5CFEB for ; Mon, 9 Jul 2018 16:49:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E972720864 for ; Mon, 9 Jul 2018 16:49:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="v8YbKSET" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E972720864 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933519AbeGIQrY (ORCPT ); Mon, 9 Jul 2018 12:47:24 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:48266 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933292AbeGIQrV (ORCPT ); Mon, 9 Jul 2018 12:47:21 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w69GkuTU036370; Mon, 9 Jul 2018 11:46:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1531154816; bh=CivO8z2buioyOe8bYUS2MA6gqLNc0Bdo1MxqIhb1t4M=; h=From:To:CC:Subject:Date; b=v8YbKSETLuM3tXabRch6Yi8VbVQvTVTt48BYIoJDGQhBhZeSplCzytoSHjyNXQYQV 2F2m7Qco8/SWFbisbh4n9Wd1UEbK1ZNzskF+kzdi9MBHyhDKSJSKZ/Gkh4d5nX5g3F V4ouIP81UtqUDl4ciRetd2duI81eGoahUSBCIZ5I= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w69Gkuhl017266; Mon, 9 Jul 2018 11:46:56 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 9 Jul 2018 11:46:56 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) 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.1466.3 via Frontend Transport; Mon, 9 Jul 2018 11:46:56 -0500 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w69GkpWA001873; Mon, 9 Jul 2018 11:46:52 -0500 From: Faiz Abbas To: , , , , CC: , , , , , , , Subject: [PATCH v5 0/6] Add MCAN Support for dra76x Date: Mon, 9 Jul 2018 22:18:35 +0530 Message-ID: <20180709164841.14182-1-faiz_abbas@ti.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 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 The following patches add dts and sysconfig support for MCAN on TI's dra76 SOCs Changes in v5: Return from sysc_reset() with error if syss_mask is not present. That is the only supported way of reset Changes in v4: 1. Rebased to latest kernel 2. Using ddata->cfg.syss_mask instead of ddata->cfg.quirks for checking if poll on reset status is required. Changes in v3: 1. Added reset functionality to the ti-sysc driver. This enables me to drop the hwmod data patch as everything is being done in dt. 2. Dropped ti,hwmods from the dts nodes 3. Fixed the unit address of target-module and mcan 4. Removed the status="disabled" in dtsi followed by status="okay" in dts. Changes in v2: 1. Added Support for mcan in the ti-sysc driver Also added the target-module node for the same 2. Added clkctrl data for mcan clocks Faiz Abbas (5): clk: ti: dra7: Add clkctrl clock data for the mcan clocks bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x bus: ti-sysc: Add support for software reset ARM: dts: Add generic interconnect target module node for MCAN ARM: dts: dra76x: Add MCAN node Lokesh Vutla (1): ARM: dts: dra762: Add MCAN clock support .../devicetree/bindings/bus/ti-sysc.txt | 1 + arch/arm/boot/dts/dra76-evm.dts | 6 ++ arch/arm/boot/dts/dra76x.dtsi | 64 +++++++++++++++++++ drivers/bus/ti-sysc.c | 62 ++++++++++++++++++ drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/bus/ti-sysc.h | 2 + include/dt-bindings/clock/dra7.h | 1 + include/linux/platform_data/ti-sysc.h | 1 + 8 files changed, 138 insertions(+) -- 2.17.0