From patchwork Mon Jul 26 11:50:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 12399349 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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 1CA9AC4338F for ; Mon, 26 Jul 2021 11:53:42 +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 D38D1601FD for ; Mon, 26 Jul 2021 11:53:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D38D1601FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=maquefel.me Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=mc9sngNZl6vY8gcMknhuMNncrX8BiBSZWebXL94SKvQ=; b=Nu9K+lvAD4ZSPj fpjHaRMtviSha/wXJ0FBCGC4kz+Anh7n0PSwS6Nk51kJPWy1JiH7helZfQBN+DMafD3X7BF+NAcmv n7PJWD7zCRay3pxI1PvRFneZUhYeQLR/ZkTuEZilLJ49c+ucvWNhjCd/0xefjUvzsPelx3W7IWK6A fO7enqPMhaooZLsHIVbOZQfrg9V3ePwqHCHXRkOuXXlhqE1ryoEjuxJc280Sx6mdsg1J4yzaYBs6P 3xl9wG9F8hMdQ9z/F0nq7rKvgrJwmFQ6S4wLUwxstzUxMEYCPcoavmiIYJezh1/C/ZwrlR6iGK11h eirNDT19yV1VP0xKoPnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7z9F-00B47t-6E; Mon, 26 Jul 2021 11:51:53 +0000 Received: from forward105o.mail.yandex.net ([37.140.190.183]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7z98-00B47J-JA for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 11:51:50 +0000 Received: from iva8-40f91c705526.qloud-c.yandex.net (iva8-40f91c705526.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:b9a7:0:640:40f9:1c70]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 57BEC4200B66; Mon, 26 Jul 2021 14:51:31 +0300 (MSK) Received: from iva6-2d18925256a6.qloud-c.yandex.net (iva6-2d18925256a6.qloud-c.yandex.net [2a02:6b8:c0c:7594:0:640:2d18:9252]) by iva8-40f91c705526.qloud-c.yandex.net (mxback/Yandex) with ESMTP id lkre8hYrIW-pTH0Ga7j; Mon, 26 Jul 2021 14:51:31 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1627300291; bh=syS++HTe1Cfn1grqGafzmOlSb2JtfOhz46f0mgWNJy4=; h=Date:Subject:To:From:Message-Id:Cc; b=E0wy+n4muSO1ZLMeBWliO0BhcyWs6KoSoeJWdqaCR52kWT6mHi7gxowiUFGY6irYT be1AwLTE4dNL+xYTAkyBJYWgCXYptO8V83/LNeZFDp4RbyoGeo2C+M9Dr7oKoKzW4P dZKZcvyhEJp7DS7GLat0LUjSneb5gTIb+hVwaHc8= Authentication-Results: iva8-40f91c705526.qloud-c.yandex.net; dkim=pass header.i=@maquefel.me Received: by iva6-2d18925256a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id PIKatQa27D-pR2S8g73; Mon, 26 Jul 2021 14:51:28 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Nikita Shubin To: Alexander Sverdlin , Geert Uytterhoeven Cc: Nikita Shubin , alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), Andrew Morton , Andrzej Pietrasiewicz , Anshuman Khandual , Ard Biesheuvel , Arnd Bergmann , dmaengine@vger.kernel.org (open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM), Dmitry Torokhov , dri-devel@lists.freedesktop.org (open list:FRAMEBUFFER LAYER), Geert Uytterhoeven , Jonathan Cameron , Krzysztof Kozlowski , Krzysztof Kozlowski , Kuninori Morimoto , Lars-Peter Clausen , Linus Walleij , linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER), linux-iio@vger.kernel.org (open list:IIO SUBSYSTEM AND DRIVERS), linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...), linux-kernel@vger.kernel.org (open list), linux-pwm@vger.kernel.org (open list:PWM SUBSYSTEM), linux-spi@vger.kernel.org (open list:SPI SUBSYSTEM), Mark Brown , Mike Rapoport , Russell King , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , YiFei Zhu Subject: [PATCH 0/8] arm: ep93xx: CCF conversion Date: Mon, 26 Jul 2021 14:50:44 +0300 Message-Id: <20210726115058.23729-1-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210726_045147_206859_96ECEAD6 X-CRM114-Status: GOOD ( 10.12 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series series of patches converts ep93xx to Common Clock Framework. It consists of preparation patches to use clk_prepare_enable where it is needed, instead of clk_enable used in ep93xx drivers prior to CCF and a patch converting mach-ep93xx/clock.c to CCF. Link: https://lore.kernel.org/patchwork/cover/1445563/ Link: https://lore.kernel.org/patchwork/patch/1435884/ Alexander Sverdlin (7): iio: ep93xx: Prepare clock before using it spi: spi-ep93xx: Prepare clock before using it Input: ep93xx_keypad: Prepare clock before using it video: ep93xx: Prepare clock before using it dmaengine: ep93xx: Prepare clock before using it ASoC: cirrus: i2s: Prepare clock before using it pwm: ep93xx: Prepare clock before using it Nikita Shubin (1): ep93xx: clock: convert in-place to COMMON_CLK arch/arm/Kconfig | 2 +- arch/arm/mach-ep93xx/clock.c | 975 ++++++++++++++----------- arch/arm/mach-ep93xx/core.c | 2 +- arch/arm/mach-ep93xx/soc.h | 42 +- drivers/dma/ep93xx_dma.c | 6 +- drivers/iio/adc/ep93xx_adc.c | 6 +- drivers/input/keyboard/ep93xx_keypad.c | 4 +- drivers/pwm/pwm-ep93xx.c | 12 +- drivers/spi/spi-ep93xx.c | 4 +- drivers/video/fbdev/ep93xx-fb.c | 4 +- sound/soc/cirrus/ep93xx-i2s.c | 12 +- 11 files changed, 605 insertions(+), 464 deletions(-) base-commit: 64376a981a0e2e57c46efa63197c2ebb7dab35df Reviewed-by: Linus Walleij