From patchwork Mon Mar 15 19:44:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 402095 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 F4193C433DB for ; Mon, 15 Mar 2021 19:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C548164F4D for ; Mon, 15 Mar 2021 19:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233709AbhCOTp3 (ORCPT ); Mon, 15 Mar 2021 15:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233477AbhCOTo5 (ORCPT ); Mon, 15 Mar 2021 15:44:57 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2BB2C06174A for ; Mon, 15 Mar 2021 12:44:56 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id g8so8386262qvx.1 for ; Mon, 15 Mar 2021 12:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EHeLVXlmhPRECUIK0de41y19EjtaBfFrDmnjaMTTa68=; b=jRW9hmD/wTmt3Bm28Q9OK9DF2rdC0t9qk/Jz3wGlS47BTw3AO4PiBthR96zupMnWPk tv1NzAVNwfXrxqx45G0TYjrcVO9uF0wa+0ndx93xN992t8elDj1CRUPuaF2d3YejEybk 563ztfgYj+rAbSoD+rJXnU4b4tnPAIhcx3Jn/O8zfzBH4NTrj8/X4JnB7b0AWmjyVhAJ jeQ+O4bNIEj7C2pXPH3bQfcAiZcryWQcLc7bUbvZ7U0cPIEAEQzbv9HY3YltGpbv/H2a IRPHCefnVZL95mxcfmREg68yh/tZYJEXfe2wVKgcNe+qW43hPEMSo6+ntKk7yiX4LprJ YljA== 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=EHeLVXlmhPRECUIK0de41y19EjtaBfFrDmnjaMTTa68=; b=m95jkF1AL4qim7ne3Fp9yDM6HtMv3a0HNXIZai3kGsdaMAUMu4LaiaRXXxfUqzQmKk rfHFMZCuCQqwLALZEKqfILNBn/MrV6AycFCgixhH4oMTJNgr7cy0wqmHRLJvUdvj9Gzm IXKDj9xv344cAoLf4tii0YhyeK9EPQiYM8uhcA7aqsYBcONJA8Z4NF5TqQlInAEfX3Vw oq1YJUs9VqemC3qJyaXVvQwMAamqrRA2zYPFTJ/Nup7+phzFx5MSWKUsYSxmmYZgrZ3S F2GkD3K4IiH6GzYxARxPI8puRoZUMNJuRxd1t9c7upN5kngOblE9GmHsDuulIFsy9CIb RZWw== X-Gm-Message-State: AOAM533AERvAA1hCzXrDMsbxwV5iue/CK0hOdWl8AprLCq3bRe3JFmT2 NpktnW12tbFrVKZAxcqJoWo= X-Google-Smtp-Source: ABdhPJw98/iC+QwL3dAWC1A6jIbae3dIdsm7vpauIhCRazemJ4GBGnoj2XvVuAt5lE0cRpUSKk4dzg== X-Received: by 2002:a0c:f6cf:: with SMTP id d15mr9817862qvo.62.1615837496069; Mon, 15 Mar 2021 12:44:56 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:919::1000]) by smtp.gmail.com with ESMTPSA id z8sm7468576qtn.12.2021.03.15.12.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 12:44:55 -0700 (PDT) From: Fabio Estevam To: hverkuil@xs4all.nl Cc: mchehab@kernel.org, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH 1/2] media: camera-mx2: Remove unused header file Date: Mon, 15 Mar 2021 16:44:45 -0300 Message-Id: <20210315194446.183453-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The imx27/imx25 camera driver has been removed a long time ago, so get rid of this unused header file. Signed-off-by: Fabio Estevam --- .../linux/platform_data/media/camera-mx2.h | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 include/linux/platform_data/media/camera-mx2.h diff --git a/include/linux/platform_data/media/camera-mx2.h b/include/linux/platform_data/media/camera-mx2.h deleted file mode 100644 index 8cfa76b6e1e1..000000000000 --- a/include/linux/platform_data/media/camera-mx2.h +++ /dev/null @@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * mx2-cam.h - i.MX27/i.MX25 camera driver header file - * - * Copyright (C) 2003, Intel Corporation - * Copyright (C) 2008, Sascha Hauer - * Copyright (C) 2010, Baruch Siach - */ - -#ifndef __MACH_MX2_CAM_H_ -#define __MACH_MX2_CAM_H_ - -#define MX2_CAMERA_EXT_VSYNC (1 << 1) -#define MX2_CAMERA_CCIR (1 << 2) -#define MX2_CAMERA_CCIR_INTERLACE (1 << 3) -#define MX2_CAMERA_HSYNC_HIGH (1 << 4) -#define MX2_CAMERA_GATED_CLOCK (1 << 5) -#define MX2_CAMERA_INV_DATA (1 << 6) -#define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7) - -/** - * struct mx2_camera_platform_data - optional platform data for mx2_camera - * @flags: any combination of MX2_CAMERA_* - * @clk: clock rate of the csi block / 2 - */ -struct mx2_camera_platform_data { - unsigned long flags; - unsigned long clk; -}; - -#endif /* __MACH_MX2_CAM_H_ */ From patchwork Mon Mar 15 19:44:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 400800 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 E48D0C433E0 for ; Mon, 15 Mar 2021 19:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3FB364DE5 for ; Mon, 15 Mar 2021 19:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232628AbhCOTpa (ORCPT ); Mon, 15 Mar 2021 15:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233699AbhCOTo7 (ORCPT ); Mon, 15 Mar 2021 15:44:59 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36EC8C06174A for ; Mon, 15 Mar 2021 12:44:59 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id a9so32875848qkn.13 for ; Mon, 15 Mar 2021 12:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nNFBPyWNsjgTv94JljI0Zef/+sdF3szhoHu6JVvvVBk=; b=YpzD1UvnEO89P0xMmuo01iQsExJa+I4e0mGeGRxZuecJ3tJlZdrE+AKWxU50jddw92 YZZ3i1lFaQTw7s/slytGERcw4wqUMJ7P5IeTxOFcY7mW/9fcOKYyBRbuNQ05/OTA5l0s J5qz1EJt1EFgSA4TugeYG1h5sR3t8nbX4EuOauXc1E/ZJKDD1sCvTY1fgYVYi8plHcx0 dwR5pZqHFU0TqWRDV5EeE+y3j8RwUPV61HvLlfPTjzVyXbANHOTmmMRtYXG9cUGZvxSB g5eDEZRT2ivFCjUTuIxv74dBdMdyStfD6MDMJXdKOnIDewsX+sXdUbEZSG2BXSLHAuGV 6Lkg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nNFBPyWNsjgTv94JljI0Zef/+sdF3szhoHu6JVvvVBk=; b=Nqlbz3a9arEfnYXvWRpwlN3IOb5oC310ZJycQxVFgFrg5CdabS3bpX3bjFQ0nClUuj H93iiMRck1WmuRdjePTb4EuOCafe1vPDd2uSTTJrVHPSUV4QI+fVjuZGzUeF2ic5WN7m i+Nhl9E/JsqJzKR4iX8Hw53Pi+3p9H6bAAdAHxiOa4iY92Kt2UKEjrEvaBO20Czhh/6W dEKSOs9akcFY29cxJSmr6kCy4GCPjNUhe0FTvwLS+sAOdpY+D/p2uPgDGYDF7fwZWH1B vICY8Xz+O4maJ/Ziyc3Ir1I9pnvgO5W+KlWgqmbQ1WMnKwE7oVdOTsJN97IZULeO2YA0 3uPQ== X-Gm-Message-State: AOAM5339gel4Ey5wU0GRUzs/GKWy5efpm7AENMBscD2ZPhJyIkj8pc63 f9snln4CTvlRC2XQnAPGxbI= X-Google-Smtp-Source: ABdhPJy2WT2lym/AX7wwDjuIZGjm4PFiqEPdh0PzgJuxKtGwTT8W1K2/d3u4FN/apxZJuqsIi8xNGg== X-Received: by 2002:a05:620a:16b0:: with SMTP id s16mr4054452qkj.115.1615837498477; Mon, 15 Mar 2021 12:44:58 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:919::1000]) by smtp.gmail.com with ESMTPSA id z8sm7468576qtn.12.2021.03.15.12.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 12:44:58 -0700 (PDT) From: Fabio Estevam To: hverkuil@xs4all.nl Cc: mchehab@kernel.org, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH 2/2] media: camera-mx3: Remove unused header file Date: Mon, 15 Mar 2021 16:44:46 -0300 Message-Id: <20210315194446.183453-2-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210315194446.183453-1-festevam@gmail.com> References: <20210315194446.183453-1-festevam@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The imx3 camera driver has been removed a long time ago, so get rid of this unused header file. Signed-off-by: Fabio Estevam --- .../linux/platform_data/media/camera-mx3.h | 43 ------------------- 1 file changed, 43 deletions(-) delete mode 100644 include/linux/platform_data/media/camera-mx3.h diff --git a/include/linux/platform_data/media/camera-mx3.h b/include/linux/platform_data/media/camera-mx3.h deleted file mode 100644 index 781c004e5596..000000000000 --- a/include/linux/platform_data/media/camera-mx3.h +++ /dev/null @@ -1,43 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * mx3_camera.h - i.MX3x camera driver header file - * - * Copyright (C) 2008, Guennadi Liakhovetski, DENX Software Engineering, - */ - -#ifndef _MX3_CAMERA_H_ -#define _MX3_CAMERA_H_ - -#include - -#define MX3_CAMERA_CLK_SRC 1 -#define MX3_CAMERA_EXT_VSYNC 2 -#define MX3_CAMERA_DP 4 -#define MX3_CAMERA_PCP 8 -#define MX3_CAMERA_HSP 0x10 -#define MX3_CAMERA_VSP 0x20 -#define MX3_CAMERA_DATAWIDTH_4 0x40 -#define MX3_CAMERA_DATAWIDTH_8 0x80 -#define MX3_CAMERA_DATAWIDTH_10 0x100 -#define MX3_CAMERA_DATAWIDTH_15 0x200 - -#define MX3_CAMERA_DATAWIDTH_MASK (MX3_CAMERA_DATAWIDTH_4 | MX3_CAMERA_DATAWIDTH_8 | \ - MX3_CAMERA_DATAWIDTH_10 | MX3_CAMERA_DATAWIDTH_15) - -struct v4l2_async_subdev; - -/** - * struct mx3_camera_pdata - i.MX3x camera platform data - * @flags: MX3_CAMERA_* flags - * @mclk_10khz: master clock frequency in 10kHz units - * @dma_dev: IPU DMA device to match against in channel allocation - */ -struct mx3_camera_pdata { - unsigned long flags; - unsigned long mclk_10khz; - struct device *dma_dev; - struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ - int *asd_sizes; /* 0-terminated array of asd group sizes */ -}; - -#endif