From patchwork Thu Jan 7 02:30:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 12002613 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.0 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 528EBC433E0 for ; Thu, 7 Jan 2021 02:33:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 025A22311E for ; Thu, 7 Jan 2021 02:33:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 025A22311E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=DL8/0kdht8vkHmMuR+lSPHX1rcanmjkuMsz7Jh6UDs4=; b=GPpFQALO1b8H4hIkWmCZJeXbq wEuihcLnr2LTxKDUzn4UtAsa0ydD27wANfoq3yFeC/9h7yxBP1yneQVyaTos6WljhoR01c7+36H/Z EjzRT478Gam46CdjOE1PyQt+xLPJL4D4s0L+nm9aNVaHt5MTxlbIk6wqJ3i18MTGvMVEDm2hGC/V8 SqbKtOiFlrKAqufyEfVDLraQcpRS9skK03OFHfHBm3uYZH4FNerp5Sz035r4Rib5dbp3dzeVhmo8J 7oPv12veXB9gDaQjZjDKiLH6k/h5Qnkprf4miBe1xxt341JaOzBDxA4ZetgWF435Inl26RdV7Ubs9 WK2L1EvVA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxL4V-0006t1-LR; Thu, 07 Jan 2021 02:30:43 +0000 Received: from smtpcmd11116.aruba.it ([62.149.156.116]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxL4S-0006ry-4Y for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2021 02:30:41 +0000 Received: from ubuntu.localdomain ([146.241.198.163]) by Aruba Outgoing Smtp with ESMTPSA id xL4LkiX9OkRIKxL4LkeM1F; Thu, 07 Jan 2021 03:30:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1609986636; bh=T/3tAYcIse29GPq8KBZmxeUEKL6kngCkz57iuh6Rt+o=; h=From:To:Subject:Date:MIME-Version; b=MG+6iTvo09xggYooV0jpXiH2mlaWupc0iAB0H2msqheEcK7VEVDALOqqlR1177XsN 6fRrj8WRe+5Ud7MxY3uT1eiIUqEZu9KGNvsYQbC/ZWvNqbMMAiEU4kOs1O1o/wCDUc DlbN3avo0bgumYRoXxHjvUODJICOugKGt2k1U8HWmdadzhMtpb4N/0+9B6zhjbIslm FWGKOydb7pK5DASHsSeC4vvlxJZmuZC8hV4NKvH7O+2Z+UTF49zYUQVK9qH+NuHM1J 8OmWgDuD7XxTohcZmIldABHgD6fWsLjdjFpe7YkT9JX56CFLdeZ6FZOkKOqwRZejtJ qh6fZIYBw9dwg== From: Giulio Benetti To: Maxime Ripard Subject: [PATCH v2 0/2] drm/sun4i: fix DCLK and improve its handling Date: Thu, 7 Jan 2021 03:30:30 +0100 Message-Id: <20210107023032.560182-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <3685133.SLcexNTYsu@kista> References: <3685133.SLcexNTYsu@kista> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfDPwNH/FgacnF1sUUyqDtIHhJPzsiAY1wJSQ4dQfBax5aRm4Zi6mwJSLaQbhE5CmjOpGqBGUngrQgHGJt0GdkgiakP6SHa4P3QKO4/VWFMK+FjxxhrCv +TXHBPT8FJkM9S9Mfigu6+teKRKk8UOV853vWLWc2fEVeV6moKSNRJUSB0mX0r20rqAmtMIpNY4xiug2H0HEmTnODCUPC41h2wb5FquH1gPAkwYBl7fYWht3 rQQRUUuw+s1g0pfIvALKMbCzbwJTjtWWu+xbgcLQBvQ3kspe5mXfe1EGGIOch4y5DbFPjPeWxqscUc+giXhqlRBdv9zrhEpYOE6mY49x1Xm9fDnBeUTlWNmP Fnn9FbMQEu5cNSmjs43Y9CvD2WqNef8KcOUh9NikYV+7n3+fKjiTMTUYL1QOikDAtB0vpJpqk8DCN14j66gd4+b1mstREjDgfI57bns/zCkA299KW6BsZJpr UmNtk2nAzw8xQ2oeawoite2lq3Y1D6FJ2vlIfS+syyK4k0pQFYlZIITHVylsDH2R97VQ78XNbvv5+21NRTLtoFj90KbJgP6H4HEgHQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_213040_451666_C8248743 X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. 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: Jernej Skrabec , airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, daniel@ffwll.ch, treding@nvidia.com, Giulio Benetti , Marjan Pascolo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Giulio Benetti First patch is a tested by me fix, while the second need testing to understand if it works correctly with any sunxi SoC with DE peripheral. Already tested SoCs are: - A20 - A33 Need testing: - A10 - A10s - A13 Giulio Benetti (2): drm/sun4i: tcon: fix inverted DCLK polarity drm/sun4i: tcon: improve DCLK polarity handling drivers/gpu/drm/sun4i/sun4i_tcon.c | 20 +------------------- drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + 2 files changed, 2 insertions(+), 19 deletions(-)