From patchwork Sat Apr 13 17:15:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10899563 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DF59213B5 for ; Sat, 13 Apr 2019 17:15:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C3C289DC for ; Sat, 13 Apr 2019 17:15:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6D1F28C26; Sat, 13 Apr 2019 17:15:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 56BED289DC for ; Sat, 13 Apr 2019 17:15:53 +0000 (UTC) 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=0r0s30VMrUsgReia4xy0MK3bBAIXCrcapmbx5swzEH8=; b=PdBNVKvuuv5uac 91mWDoETwc8EA+FaoPHphN+TUQIRcbPMXISlRO77wD1G7fLvbHCdLW0P24ZuRavwU7ZKIM1gN1/mf 6hF0f7RldZ2nHuvq61o+8jG3y6fGIQxMWp8UcaQ7c9igSSJUlmKgWtbHU3S2aIr1UzOEReGOEAz2T WNxT/isrS3JyAxZK2C+tJXhmq/eqmYW42JW0aNko7BhFhyS8rEDpAiKvsTPyzqwwHsSurHqhpc9RO xmBc5qSoFWwhu+R5HqXBpeIY6hQ+ZHZtJkvTeC4mw5bv5g2Qbt8KPLrbrXfIn7tcbXcJ2SUE/6eZy lsGtuzwwe5hcb09L5u0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFMFr-0008Sz-Hz; Sat, 13 Apr 2019 17:15:51 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFMFn-0008R7-Mu; Sat, 13 Apr 2019 17:15:49 +0000 Received: by mail-wr1-x441.google.com with SMTP id y7so15987719wrn.11; Sat, 13 Apr 2019 10:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OZ3paJ4iaXOzR0Hh0oek905P7Hhbe2Wppg/n8TWnHTU=; b=bIpUOE8jEzfxn96g3+L1cxFhVg5eOBg6wm3FOY1b4ni8R4YIqZAXDQ4ViGxB2s13vn oaRJorQjEvbqQcyt0vDtc11KV7eQOhUvrm1FxYbP+LAeRv2mybvLaDNi71/UfbDTq9NX 1qwg/yByJLwZc1WCL+zpVKfWmrHw9X8w5gGdL5Riikk6nwdbxQWCQuWAxpAddDk4Ujm3 xnDDFPtw+oCdnQdbOF+YxfpWsZsAgwPQvHAgAQgdgSc/ckC2ZrzAGI0fz42HIBMwL5Os 8Ne4gEchcHb94vIrZVucFlw17V3FhfzSkjhSPVN89bLExBQ2QFhSfP4PnfxUfdnWjbAb aCKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OZ3paJ4iaXOzR0Hh0oek905P7Hhbe2Wppg/n8TWnHTU=; b=GCMXMuIgFpepUEiFw/NQ2VG6/Kgwju6kHto6+sT+xUO2Mm36fiou1LE/8zvFd9lixT zKhgzPnHwk+2w1kyIAyVXdKwO4tIXj5oZisWDTSW2oga1KkNiqv3Toi2CWz0jpTv5gnt yP5VsB/m5EomYDTfg07Sdjc4VaTnPo7+BynfBs44sa0pzVF/3NNNDXL8hSxN3pFsRYKW NPumQ1k2vpwXPtOmUETneIpARryxx2Yuv6ir0K4l8tQgQJ8hkuwXd8XvbA0ixb942Ve+ tJ4oQU6MFvWi3YSBMhW+OHM+h/leZlJCsQbqtXbaVWl3USSKiipNIEj4lS3xD24tWMm7 Ehnw== X-Gm-Message-State: APjAAAUCcgfxSUKGGG+y9E81uhSS34AC6AuBXA5p73fi6Ln+pHgaFj87 gh4swHTBHn2+xiH31J3qwYBjbZ9U X-Google-Smtp-Source: APXvYqyLPrN8SL0qAjae7+xkaQ+fhy/5hHAS1Hp4VgGprS/2qeUOPbPT5Kvl71xDIZa0Fsg6V2ynJg== X-Received: by 2002:adf:e443:: with SMTP id t3mr13640311wrm.257.1555175745527; Sat, 13 Apr 2019 10:15:45 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133C8AD0010B8127C043607D1.dip0.t-ipconnect.de. [2003:f1:33c8:ad00:10b8:127c:436:7d1]) by smtp.googlemail.com with ESMTPSA id h84sm16745965wmf.15.2019.04.13.10.15.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Apr 2019 10:15:44 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 0/3] 32-bit Meson: add the canvas module Date: Sat, 13 Apr 2019 19:15:29 +0200 Message-Id: <20190413171532.25967-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190413_101547_757783_39709EB7 X-CRM114-Status: GOOD ( 13.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mjourdan@baylibre.com, Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the canvas module on Meson8, Meson8b and Meson8m2. The canvas IP is used by the video decoder hardware as well as the VPU (video output) hardware. Neither the VPU nor the video decoder driver support the 32-bit SoCs yet. However, we can still add the canvas module to have it available once these drivers gain support for the older SoCs. I have tested this on my Meson8m2 board by hacking the VPU driver to not re-initialize the VPU (and to use the configuration set by u-boot). With that hack I could get some image out of the CVBS connector. No changes to the canvas driver were required. Due to lack of hardware I could not test Meson8, but I'm following (as always) what the Amlogic 3.10 vendor kernel uses. Meson8b is also not tested because u-boot of my EC-100 doesn't have video output enabled (so I couldn't use the same hack I used on my Meson8m2 board). This series meant to be applied on top of "Meson8b: add support for the RTC on EC-100 and Odroid-C1" from [0] [0] https://patchwork.kernel.org/cover/10899509/ Martin Blumenstingl (3): ARM: dts: meson8: add the canvas module ARM: dts: meson8m2: update the offset of the canvas module ARM: dts: meson8b: add the canvas module arch/arm/boot/dts/meson8.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/meson8b.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/meson8m2.dtsi | 10 ++++++++++ 3 files changed, 52 insertions(+)