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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8DFDC43334 for ; Thu, 23 Jun 2022 00:57:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239118AbiFWA51 (ORCPT ); Wed, 22 Jun 2022 20:57:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233875AbiFWA50 (ORCPT ); Wed, 22 Jun 2022 20:57:26 -0400 Received: from novek.ru (unknown [213.148.174.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4979424A3 for ; Wed, 22 Jun 2022 17:57:25 -0700 (PDT) Received: from nat1.ooonet.ru (gw.zelenaya.net [91.207.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id AFCB1500595; Thu, 23 Jun 2022 03:55:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru AFCB1500595 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1655945752; bh=Z3VPOXlEIyZkbyzWiNB3Eqk93h6pysvYRwvSPBIT3yY=; h=From:To:Cc:Subject:Date:From; b=k0LvFcy28ieSK8FqZtlQZfWUsjZKzZsZT1qbUTtI0vOwBiTVOvDFUC24PaFrc4ioa Ky2o+SSLpPBTASZxPHTdDEX9LM+0XJ0jcFz6kqUDvof6FRxHzV2G3OnxpRLQAhsCvS S0WrZvPJPOZ0EcqmFmYJpjk1tuZIAvSp3qUp0XCc= From: Vadim Fedorenko To: Jakub Kicinski Cc: Vadim Fedorenko , Aya Levin , Arkadiusz Kubalewski , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH v1 0/3] Create common DPLL/clock configuration API Date: Thu, 23 Jun 2022 03:57:14 +0300 Message-Id: <20220623005717.31040-1-vfedorenko@novek.ru> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vadim Fedorenko Implement common API for clock/DPLL configuration and status reporting. The API utilises netlink interface as transport for commands and event notifications. This API aim to extend current pin configuration and make it flexible and easy to cover special configurations. v0 -> v1: * fix code style and errors * add linux-arm mailing list Vadim Fedorenko (3): dpll: Add DPLL framework base functions dpll: add netlink events ptp_ocp: implement DPLL ops MAINTAINERS | 8 + drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/dpll/Kconfig | 7 + drivers/dpll/Makefile | 7 + drivers/dpll/dpll_core.c | 154 ++++++++++ drivers/dpll/dpll_core.h | 40 +++ drivers/dpll/dpll_netlink.c | 578 ++++++++++++++++++++++++++++++++++++ drivers/dpll/dpll_netlink.h | 14 + drivers/ptp/Kconfig | 1 + drivers/ptp/ptp_ocp.c | 86 ++++++ include/linux/dpll.h | 25 ++ include/uapi/linux/dpll.h | 77 +++++ 13 files changed, 1000 insertions(+) create mode 100644 drivers/dpll/Kconfig create mode 100644 drivers/dpll/Makefile create mode 100644 drivers/dpll/dpll_core.c create mode 100644 drivers/dpll/dpll_core.h create mode 100644 drivers/dpll/dpll_netlink.c create mode 100644 drivers/dpll/dpll_netlink.h create mode 100644 include/linux/dpll.h create mode 100644 include/uapi/linux/dpll.h -- 2.27.0 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A3389C433EF for ; Thu, 23 Jun 2022 01:05:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=yqH63Zhrux6fii+likL0vot0pLoZBryXEvceAtPLHYg=; b=r70G8mtYmPdX6W 9zTQOoQZIH8DOaobV26rloYSZgrDUE0Fubx+PVJ3M8oh1VlhgmeiLKD2pmYYsUvuXIO8jqEjwRTzl t4nF6Q34Xc+uP0b7QmJpL91OHMyMbBt2KOOdFIBo1Tj0gcUpJ0a6NA3Cs2VGWpSWB1o+vy0HoD6Um AMi4bYN9riIeILdQu/6wvhE+p7K6bKk9tDRg1zT1kCluMIoxv3Rv8bkaG++rTQlWPxXbK8+DY4BAC sp8D+qsvjclinR7x3BnykXvUhPltgbk8G5vaSN6vQgZaF2NGOcFEGXbGpZ09az4qLfwGkV9y9Qcs5 iThVwAf9Q2naMvIiYtug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4BGf-00Ceg9-J8; Thu, 23 Jun 2022 01:04:21 +0000 Received: from [213.148.174.62] (helo=novek.ru) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4BGb-00CeeO-T4 for linux-arm-kernel@lists.infradead.org; Thu, 23 Jun 2022 01:04:19 +0000 Received: from nat1.ooonet.ru (gw.zelenaya.net [91.207.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id AFCB1500595; Thu, 23 Jun 2022 03:55:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru AFCB1500595 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1655945752; bh=Z3VPOXlEIyZkbyzWiNB3Eqk93h6pysvYRwvSPBIT3yY=; h=From:To:Cc:Subject:Date:From; b=k0LvFcy28ieSK8FqZtlQZfWUsjZKzZsZT1qbUTtI0vOwBiTVOvDFUC24PaFrc4ioa Ky2o+SSLpPBTASZxPHTdDEX9LM+0XJ0jcFz6kqUDvof6FRxHzV2G3OnxpRLQAhsCvS S0WrZvPJPOZ0EcqmFmYJpjk1tuZIAvSp3qUp0XCc= From: Vadim Fedorenko To: Jakub Kicinski Cc: Vadim Fedorenko , Aya Levin , Arkadiusz Kubalewski , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH v1 0/3] Create common DPLL/clock configuration API Date: Thu, 23 Jun 2022 03:57:14 +0300 Message-Id: <20220623005717.31040-1-vfedorenko@novek.ru> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_180418_153080_5223FE33 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Vadim Fedorenko Implement common API for clock/DPLL configuration and status reporting. The API utilises netlink interface as transport for commands and event notifications. This API aim to extend current pin configuration and make it flexible and easy to cover special configurations. v0 -> v1: * fix code style and errors * add linux-arm mailing list Vadim Fedorenko (3): dpll: Add DPLL framework base functions dpll: add netlink events ptp_ocp: implement DPLL ops MAINTAINERS | 8 + drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/dpll/Kconfig | 7 + drivers/dpll/Makefile | 7 + drivers/dpll/dpll_core.c | 154 ++++++++++ drivers/dpll/dpll_core.h | 40 +++ drivers/dpll/dpll_netlink.c | 578 ++++++++++++++++++++++++++++++++++++ drivers/dpll/dpll_netlink.h | 14 + drivers/ptp/Kconfig | 1 + drivers/ptp/ptp_ocp.c | 86 ++++++ include/linux/dpll.h | 25 ++ include/uapi/linux/dpll.h | 77 +++++ 13 files changed, 1000 insertions(+) create mode 100644 drivers/dpll/Kconfig create mode 100644 drivers/dpll/Makefile create mode 100644 drivers/dpll/dpll_core.c create mode 100644 drivers/dpll/dpll_core.h create mode 100644 drivers/dpll/dpll_netlink.c create mode 100644 drivers/dpll/dpll_netlink.h create mode 100644 include/linux/dpll.h create mode 100644 include/uapi/linux/dpll.h -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel