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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 E7166C2BA19 for ; Tue, 14 Apr 2020 10:33:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2A5820644 for ; Tue, 14 Apr 2020 10:33:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438345AbgDNKci (ORCPT ); Tue, 14 Apr 2020 06:32:38 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:56379 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438356AbgDNKcK (ORCPT ); Tue, 14 Apr 2020 06:32:10 -0400 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOIrN-0007BU-EA; Tue, 14 Apr 2020 12:32:05 +0200 Received: from mtr by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jOIrM-000181-SH; Tue, 14 Apr 2020 12:32:04 +0200 From: Michael Tretter To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Rohit Visavalia , Michal Simek , Rob Herring , Dhaval Shah , kernel@pengutronix.de, Michael Tretter Subject: [PATCH v2 0/6] soc: xilinx: vcu: provide interfaces for other drivers Date: Tue, 14 Apr 2020 12:31:56 +0200 Message-Id: <20200414103202.4288-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: devicetree@vger.kernel.org Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hello, This is v2 of the series to add interfaces that can be used by other drivers to the xlnx_vcu driver. See [0] for the full motivation for this patch series. In v2, the driver now also unregisters the registered clocks. I also dropped the workaround for the syscon compatible in the dt bindings. I would actually really appreciate feedback by Xilinx, because there are some patches in the Xilinx downstream kernel that also try to expose the VCU System-Level Control in an (IMHO) non-upstream-compatible way. Michael [0] https://lore.kernel.org/linux-arm-kernel/20200317094115.15896-1-m.tretter@pengutronix.de/ Changelog: v1 -> v2: - drop custom select for syscon - unregister registered clocks on driver remove Michael Tretter (6): soc: xilinx: vcu: drop useless success message ARM: dts: define indexes for output clocks soc: xilinx: vcu: implement clock provider for output clocks dt-bindings: soc: xlnx: extract xlnx,vcu-settings to separate binding soc: xilinx: vcu: use vcu-settings syscon registers soc: xilinx: vcu: add missing register NUM_CORE .../soc/xilinx/xlnx,vcu-settings.yaml | 34 ++++ .../bindings/soc/xilinx/xlnx,vcu.txt | 9 +- drivers/soc/xilinx/Kconfig | 3 +- drivers/soc/xilinx/xlnx_vcu.c | 170 ++++++++++++------ include/dt-bindings/clock/xlnx-vcu.h | 15 ++ include/linux/mfd/syscon/xlnx-vcu.h | 39 ++++ 6 files changed, 212 insertions(+), 58 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml create mode 100644 include/dt-bindings/clock/xlnx-vcu.h create mode 100644 include/linux/mfd/syscon/xlnx-vcu.h -- 2.20.1 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 EEA2DC2BB86 for ; Tue, 14 Apr 2020 10:32:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 970BF20644 for ; Tue, 14 Apr 2020 10:32:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Uor15mmz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 970BF20644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2B4cMvN0raVdBZ9W2DtCebCiR8ibFz/bkSdNpuf0tkY=; b=Uor15mmzMR5FOd 08nOxLqhLUN7W5l0X10rFoME5LPUTngrd6BlNnzIPxUR+weRMsscYZfLpKvz8E+A+nLSeNcaCoShZ ahKiPRCoMtEeBoObkvTp8TbShmAQ3e//l1YeYl/t44/aC2Xr68gZRmGJEpQ9utEv/JWjIIs2UJkNR vroBM+nu5cSTNLLUvBfbMkDU8pOVlHlNH5hqAz13Oh1g6FiB+nz/TQVl3lMrRoE11rETdU+P/7SEa XN/R7x614xnGkxgoTT8BkokKPQoD9mX83/OWsV8KXPsUqSocyos4FyyFb7w4TxEf4CzTfK+0hxFd5 pvp868FVuvgy6mpru5yw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOIra-00011D-Km; Tue, 14 Apr 2020 10:32:18 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOIrP-0000s7-Ec for linux-arm-kernel@lists.infradead.org; Tue, 14 Apr 2020 10:32:09 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOIrN-0007BU-EA; Tue, 14 Apr 2020 12:32:05 +0200 Received: from mtr by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jOIrM-000181-SH; Tue, 14 Apr 2020 12:32:04 +0200 From: Michael Tretter To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/6] soc: xilinx: vcu: provide interfaces for other drivers Date: Tue, 14 Apr 2020 12:31:56 +0200 Message-Id: <20200414103202.4288-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200414_033207_556062_7D4EC67E X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dhaval Shah , Michael Tretter , Michal Simek , Rob Herring , kernel@pengutronix.de, Rohit Visavalia Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This is v2 of the series to add interfaces that can be used by other drivers to the xlnx_vcu driver. See [0] for the full motivation for this patch series. In v2, the driver now also unregisters the registered clocks. I also dropped the workaround for the syscon compatible in the dt bindings. I would actually really appreciate feedback by Xilinx, because there are some patches in the Xilinx downstream kernel that also try to expose the VCU System-Level Control in an (IMHO) non-upstream-compatible way. Michael [0] https://lore.kernel.org/linux-arm-kernel/20200317094115.15896-1-m.tretter@pengutronix.de/ Changelog: v1 -> v2: - drop custom select for syscon - unregister registered clocks on driver remove Michael Tretter (6): soc: xilinx: vcu: drop useless success message ARM: dts: define indexes for output clocks soc: xilinx: vcu: implement clock provider for output clocks dt-bindings: soc: xlnx: extract xlnx,vcu-settings to separate binding soc: xilinx: vcu: use vcu-settings syscon registers soc: xilinx: vcu: add missing register NUM_CORE .../soc/xilinx/xlnx,vcu-settings.yaml | 34 ++++ .../bindings/soc/xilinx/xlnx,vcu.txt | 9 +- drivers/soc/xilinx/Kconfig | 3 +- drivers/soc/xilinx/xlnx_vcu.c | 170 ++++++++++++------ include/dt-bindings/clock/xlnx-vcu.h | 15 ++ include/linux/mfd/syscon/xlnx-vcu.h | 39 ++++ 6 files changed, 212 insertions(+), 58 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml create mode 100644 include/dt-bindings/clock/xlnx-vcu.h create mode 100644 include/linux/mfd/syscon/xlnx-vcu.h -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel