From patchwork Thu Oct 13 13:18:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13005978 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 BBCFFC4332F for ; Thu, 13 Oct 2022 13:20:06 +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=f6KFWHK3tCgwyaWrdAkp1aZwmIKUNmyqEkvAL1ggc7o=; b=pRBO5CYRVy/a9F Guqc1yg3awBFussZZIMUv9TTGgXNDjCJCZ7s4M3j4v6NlyMRpv7KvwIZ+40pB8le8oU9BEIQBG+xR +f92IM7g5HY7nKvyPPJoiHf7AebjMwPxtOVBz28UoBCts14uLh4yyr6m1vintjM3VVMf8dZZ8Zk9C uoIC0zZ6rVzYbcCfQxN74TynbiFqTMo9LeyvtKw9SotyHvDYKsNTziZnKNf3kwZ+QZkVJ+kTvWd6Y t3BWikf2mHcQeYChSBVneN84flIgHWvJ8FcvsDd8aqxhtim4Unt5feCn2977gislXhc5CHiIHbnHe Wqczak5JcrjECSwKdGUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiy6z-00BoMQ-St; Thu, 13 Oct 2022 13:18:58 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiy6u-00BoJv-AC for linux-arm-kernel@lists.infradead.org; Thu, 13 Oct 2022 13:18:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1665667132; x=1697203132; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Hy4RTQp6FBT2qM7enTnKF2hQg8bH2wkse5/kreZcno8=; b=ibfG2/8elobvGIWXh+bwymq+kmD/yfn700W9pZJddXFNN8mj2YIQWi3J UdUbqX096hfptxbeM6J6Foges0DCf51jykuoGvuqNT21yk8WqmH/HI+Nb E2+7WUcB5YEKlC7L5+P5Otl0ARCsRUb8kTc6aG84180car2ar2iTEhIE7 yH0O9LdfAktUfOwGkJ8A6eMgTyIpTYQkEzKT4jYghlV/xKJuWJzoRQg+G dPBbmkt9zySwKK5jLQAdMCBQAzpgZ5qxYZiafnDnNSOezoufyED/KWmpC K6lS3uOCTI00mlSVsj/rq1Vec611H95KGOpOTKjsE9KMQNKaZN4+EV5lA Q==; X-IronPort-AV: E=Sophos;i="5.95,180,1661810400"; d="scan'208";a="26736834" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 13 Oct 2022 15:18:46 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 13 Oct 2022 15:18:46 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 13 Oct 2022 15:18:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1665667126; x=1697203126; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Hy4RTQp6FBT2qM7enTnKF2hQg8bH2wkse5/kreZcno8=; b=Eufre5KRO0OK/kJPQIBQZPdEqC7ZaG8P7Z5E5d+RbVPM9nB6lhn2IFi0 6kLwkSF9huTy8ADkOE5BafxArfs26mkSX6YTFiPfVPoKlAeYtscnEP32U JFjitp4ycE2LPT1eHupmTg5amM0P8AFP+oWrTOS0iLH1MayI0fK4QuxhF Aa6q/+5Lo9CWnDtq3RIJJQL9jEE5R5yK8H9I/GrhzGjVyVOjxm5feMiha 1IMOQe2JBM3jvHgJTWlIwv0J8IQ2cLu88gyHeka9fQyj/Cul2vnyP1MT0 f7tV3r8qgMxOls+nyp+k0G4iibMHLLpkk2dt4gsxRqw333AKsAzvJnElw w==; X-IronPort-AV: E=Sophos;i="5.95,180,1661810400"; d="scan'208";a="26736833" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 13 Oct 2022 15:18:46 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DF9D8280056; Thu, 13 Oct 2022 15:18:45 +0200 (CEST) From: Alexander Stein To: Abel Vesa , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , Anson Huang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/5] i.MX6Q IPP DI support Date: Thu, 13 Oct 2022 15:18:34 +0200 Message-Id: <20221013131839.1365394-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_061852_771452_11B7192D X-CRM114-Status: GOOD ( 13.95 ) 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 Hi, this series add support for IPP_DI[01] clock input. 1st patch is just preparation to handle anaclk1/anaclk2 similar to osc & friends. 2nd & 3rd patch adds the clock to bindings and device tree. 4th patch adds the clock to the clk tree and also adds support for IPU clock source. 5th patch adds the pinctrl defines for imx6q (only). I was only able to test this on pad DA14 on imx6q, but not on imx6dl. Putting all together it is possible to use those IPP DI0/1 clocks as input for IPU pixel clock. Best regards, Alexander Alexander Stein (5): ARM: dts: imx6qdl: add clocks to clock controller node dt-bindings: clock: Add ipp_di0 and ipp_di1 clocks to i.MX6Q bindings ARM: dts: imx6qdl: add missing ipp_di clocks to clock controller node clk: imx6q: Add ipp-di0 and ipp-di1 clocks ARM: dts: imx6q: add ipp_di0 and ipp_di1 pad configuration .../bindings/clock/imx6q-clock.yaml | 4 ++ arch/arm/boot/dts/imx6dl-pinfunc.h | 3 ++ arch/arm/boot/dts/imx6q-pinfunc.h | 3 ++ arch/arm/boot/dts/imx6qdl.dtsi | 38 +++++++++++++++++-- drivers/clk/imx/clk-imx6q.c | 20 ++++++---- include/dt-bindings/clock/imx6qdl-clock.h | 4 +- 6 files changed, 60 insertions(+), 12 deletions(-)