Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2419374imj; Mon, 18 Feb 2019 05:47:06 -0800 (PST) X-Google-Smtp-Source: AHgI3IY7GdM3EttCk9Q0SPayhELhEgP4KwDE5I5XdKijyQy1gtkvlmsk4vgg2zCbvooPnfDgwhnM X-Received: by 2002:a63:8b43:: with SMTP id j64mr18788546pge.332.1550497626563; Mon, 18 Feb 2019 05:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497626; cv=none; d=google.com; s=arc-20160816; b=GniAwXj/3rdkh1TBStsPHhhvXjrK+MyYZ9usiiuvn8b2vV1cZ7/crdlrQhSjW1QNH7 gvjE4VsMfxVFghhahha5sqz8BUvX/U+wpa+tHRmtpudPzzS2hwuVppK1FJTQLaCMBTUR OUfQGL2ALbsgWdri3kb0sVYlizUJDmrzrvpUktiXLI9E4mwhnPjJ5QBBMk60igepNPlY NJhBYqrMDSJF4RXnXOW8gTfEYLEaa724cFqSiLc4XVclPDHzGQgaSzAtOSEV8OkIBc/h ulvERMbdYPQGgOO39+0nsYtKBeBlNrKx6gmg5BUCnOxck978IZU7mLQkzeRQ7/GwOkY0 6SlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=BDL0LXv003l1zaQkyjeDEe56RMRZbJYrQPF32f3wauY=; b=eEOVXFgI29qQOot7DkeHq4+hJLgjmEj/63dMrfiSU4UvZ6+ampjcQQE6wZCGX6FUZA LlNReckZKbh8ZDMpZmkKcIVqFuI4ZHm/LG5844ghG715c8X2rAUyUDqNVVD1NuiXLs6P EPlCgT5sMnWK7RaFL87Q0JZg3KwWw9N+YBP+B1rp6j+0LUuSqErSw4IeBpAt4raUyp/1 mM5ZiVUxH95ARHrZzFjKDN5qI+GslwmOoKxLfA4aZtzCCBd/IjlAUcczc3l0jSsplExl CpiL9f4Q6miK8QYpXs+AtxjSu6zokV9/JmlMqgu1TOk1vRnslh5okN7NeojxSMlgYR8X kkUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aampusa.onmicrosoft.com header.s=selector1-aampglobal-com header.b=VIzNH7c2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si14365307plb.427.2019.02.18.05.46.50; Mon, 18 Feb 2019 05:47:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aampusa.onmicrosoft.com header.s=selector1-aampglobal-com header.b=VIzNH7c2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731180AbfBRNhb (ORCPT + 99 others); Mon, 18 Feb 2019 08:37:31 -0500 Received: from mail-eopbgr760128.outbound.protection.outlook.com ([40.107.76.128]:6381 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727483AbfBRNhb (ORCPT ); Mon, 18 Feb 2019 08:37:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aampusa.onmicrosoft.com; s=selector1-aampglobal-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BDL0LXv003l1zaQkyjeDEe56RMRZbJYrQPF32f3wauY=; b=VIzNH7c2A02OiwvnhaMr/rPxVOtt+FTkL4aFF93RVfqoD+1QR1ezO4At8d/ieRoQF/nnU5iYUONYI11iiNmQixT1KdAUquz718CuE0lacZFKzFMUAIHzgJ6nulG4NW+mudNYFApSlIOMyKWJ8bVG177aMAtsB8+qJ9tuLs9V5b8= Received: from BL0PR07MB4115.namprd07.prod.outlook.com (52.132.10.149) by BL0PR07MB5426.namprd07.prod.outlook.com (10.167.241.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.19; Mon, 18 Feb 2019 13:37:27 +0000 Received: from BL0PR07MB4115.namprd07.prod.outlook.com ([fe80::5516:87b1:344e:a27f]) by BL0PR07MB4115.namprd07.prod.outlook.com ([fe80::5516:87b1:344e:a27f%6]) with mapi id 15.20.1622.018; Mon, 18 Feb 2019 13:37:27 +0000 From: Ken Sloat To: "Eugen.Hristev@microchip.com" , "linux-media@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "mchehab@kernel.org" , "Nicolas.Ferre@microchip.com" , "sakari.ailus@iki.fi" , "hverkuil@xs4all.nl" Subject: RE: [PATCH] media: atmel: atmel-isc: reworked driver and formats Thread-Topic: [PATCH] media: atmel: atmel-isc: reworked driver and formats Thread-Index: AQHUxQm2DhFZfyQ1n0i/a5kxwOkcZ6Xlk30w Date: Mon, 18 Feb 2019 13:37:26 +0000 Message-ID: References: <1550219467-9532-1-git-send-email-eugen.hristev@microchip.com> In-Reply-To: <1550219467-9532-1-git-send-email-eugen.hristev@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=KSloat@aampglobal.com; x-originating-ip: [96.59.174.230] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8551840e-27a2-4799-23f6-08d695a638db x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:BL0PR07MB5426; x-ms-traffictypediagnostic: BL0PR07MB5426: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;BL0PR07MB5426;23:Y602/6T7cuxJtjqqFgLNmKM56VkfZxYgfkDan/V/J?= =?us-ascii?Q?QMY0jFQmZQsKMNOQvI2rmlmdXzyfS0UfBp7eT2dxe7WvWXNjYPef0EFaa2Ia?= =?us-ascii?Q?GGtH1D7FQfWZsyuFDAZN6i8lV47XW3PYKqrdcFFUdocpnZFcytM55Gd7Xy8J?= =?us-ascii?Q?FKV488Tn+q6BnGIP/eC3RavXja2xfW6nrDyo8U7MDkmKteuBhGQCzT4dLzJA?= =?us-ascii?Q?7I5wCQ5cgfeE3oio89bvXV6EjPmqdLxWh87KkFIsiaRdMBKomz0qRYlzTbYZ?= =?us-ascii?Q?RCAKZlh9OtZ911hIL9yQJtc+M38+iL2eOuT5sn1hTm6EEA5kuBlhVOoNOKM1?= =?us-ascii?Q?I9vXQ8+al60kF+yeQdIMVF8t5m9GHqPn/wUEHVPJLYIDjo2YFtmnzIagLJlO?= =?us-ascii?Q?U2itEwRZjGn546pSrvc9oEbvUcUqewPSaT0lDR+1XS5G6L+LIBAFt+Xbk4Vd?= =?us-ascii?Q?tN3LX2w/L0N1fYe0GMruD9szsbh22hVFiG9z3A/9z+ufzAT92HVg0u+PpT+B?= =?us-ascii?Q?/p+vja+liSTGBvGgKWdzRNI1DUMy6PkPX2F6OuD5fjRoi030PPC05qkEAMtR?= =?us-ascii?Q?ELrbbdMB4T5UW0OV4z/eYZElgUnge4X/XfMUNtLMcQJtitI546efYpKnCgg2?= =?us-ascii?Q?T6a8kMqrXvI3x1UN9IPVh06OIMVelTuIKpnr/hwQoOW/HoVgI1KM4CoovVOg?= =?us-ascii?Q?1wAKVMKRf6Lp3uS9klU+xANyFbBzmS1SZrnL0LThnyyK3/iq7oT4+IDdnMSe?= =?us-ascii?Q?vlZLGKsqlk/FZ6APiK1OTHrzvm2CR3W0fCrO41PDKydynUcHUH+vMYbnQ/jc?= =?us-ascii?Q?7rneMWXv7balMpF8PPefVSQItx6pjMKON36GW83jSCjhNR425TqeMNF/Wpwt?= =?us-ascii?Q?Ck5CVxG0Y70QK9PvcWOD+WDFcxWz7Hiif0dv4h4Pa6SB25vx+hpiZpFEiPmG?= =?us-ascii?Q?F60zYdy/y93WR/Th5VDcYZtvhKBfZg15K1GTepqFo+zCYgkdWafpOUMTPc0/?= =?us-ascii?Q?oze2Aeur8uBspr13BNabXsF6r550PfKCzs5lh8FBjJBJqCL2vAoaA1w2XefC?= =?us-ascii?Q?zPSMietbE2xZicjVN3LfLK0MHMgotx+DDNndbH/EOAaUc1hd1XAxcWjmW/vj?= =?us-ascii?Q?hEVhPvTDiotq4UKJUxRzVWzMNpsdCFVi4UPZfAAoR7OwstY17wr2pOjQGVN4?= =?us-ascii?Q?Ac4QrBRUhvmIt7164N5qgMFPYTlO70+q38wjS6A5KLQM/tay5cGH+4N4iJMT?= =?us-ascii?Q?wO8A6CiTJexVveLmzIVY/vLZwSDmL15p+9T+OZ75/JI+ulRnWFZczOarK9Vb?= =?us-ascii?B?dz09?= x-microsoft-antispam-prvs: x-forefront-prvs: 09525C61DB x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(396003)(366004)(39840400004)(136003)(346002)(189003)(199004)(13464003)(53546011)(71190400001)(25786009)(5660300002)(6116002)(6436002)(26005)(2201001)(86362001)(71200400001)(6506007)(102836004)(229853002)(53936002)(6246003)(9686003)(3846002)(14454004)(97736004)(68736007)(55016002)(446003)(105586002)(106356001)(72206003)(478600001)(2501003)(186003)(66066001)(80792005)(33656002)(476003)(76176011)(305945005)(99286004)(7696005)(8936002)(74316002)(486006)(81166006)(11346002)(81156014)(316002)(110136005)(7736002)(256004)(14444005)(2906002)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR07MB5426;H:BL0PR07MB4115.namprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: aampglobal.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: NhJ83JBr5/c6Ul2Qv3Y15+0Wzzlt+QXIjFOOfppaucJZM6ETqihkn9xP0boWSvhKmH9C6C6z5qGTFY53XaUfCAvZzbvwekuEvD0C3bPuzepbEHyU7sTa9k5kX+XV6xKiTfMbzIOO6ogWg00lTM2po3yZjSDnERpRi6NxM+v7zd9qqETe/ySlN2pKx/Qp7yb/aL9UBhl7Pij78WW3BhPMm46JDP5PqIo0wzWiOmF5M8q/rau++1ZJyJIKH8z2BDtNVPNAe7qy+6HW4D3AojgcHyVnoSOoSGeR8zVZ7p4MwexMa1R+VThIZp9FNcCgqfuYp8DrIHok5JHTbrqPf7dwq9dHDUxPirDSEBIs0qrIJ1E7/a2FsDL4QOSQROaMrSnw8gD0eOk9aVK1UgW7xuQyOFAca4NK5Wn2XFSxLkj7L1k= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: aampglobal.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8551840e-27a2-4799-23f6-08d695a638db X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2019 13:37:26.8868 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e20e3a66-8b9e-46e9-b859-cb654c1ec6ea X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB5426 X-MS-Exchange-CrossPremises-AuthAs: Internal X-MS-Exchange-CrossPremises-AuthMechanism: 04 X-MS-Exchange-CrossPremises-AuthSource: BL0PR07MB4115.namprd07.prod.outlook.com X-MS-Exchange-CrossPremises-TransportTrafficType: Email X-MS-Exchange-CrossPremises-TransportTrafficSubType: X-MS-Exchange-CrossPremises-SCL: 1 X-MS-Exchange-CrossPremises-messagesource: StoreDriver X-MS-Exchange-CrossPremises-BCC: X-MS-Exchange-CrossPremises-originalclientipaddress: 96.59.174.230 X-MS-Exchange-CrossPremises-transporttraffictype: Email X-MS-Exchange-CrossPremises-transporttrafficsubtype: X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating;SFV:NSPM;SKIP:0; X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent X-OrganizationHeadersPreserved: BL0PR07MB5426.namprd07.prod.outlook.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Eugen.Hristev@microchip.com > Sent: Friday, February 15, 2019 3:38 AM > To: linux-media@vger.kernel.org; linux-arm-kernel@lists.infradead.org; li= nux- > kernel@vger.kernel.org; mchehab@kernel.org; > Nicolas.Ferre@microchip.com; Ken Sloat ; > sakari.ailus@iki.fi; hverkuil@xs4all.nl > Cc: Eugen.Hristev@microchip.com > Subject: [PATCH] media: atmel: atmel-isc: reworked driver and formats >=20 > From: Eugen Hristev >=20 > This change is a redesign in the formats and the way the ISC is configure= d > w.r.t. sensor format and the output format from the ISC. > I have changed the splitting between sensor output (which is also ISC inp= ut) > and ISC output. > The sensor format represents the way the sensor is configured, and what I= SC > is receiving. > The format configuration represents the way ISC is interpreting the data = and > formatting the output to the subsystem. > Now it's much easier to figure out what is the ISC configuration for inpu= t, and > what is the configuration for output. > The non-raw format can be obtained directly from sensor or it can be done > inside the ISC. The controller format list will include a configuration f= or each > format. > The old supported formats are still in place, if we want to dump the sens= or > format directly to the output, the try format routine will detect and con= figure > the pipeline accordingly. > This also fixes the previous issues when the raw format was NULL which > resulted in many crashes for sensors which did not have the expected/test= ed > formats. >=20 > Signed-off-by: Eugen Hristev > --- > Hello Ken and possibly others using ISC driver, >=20 > I would appreciate if you could test this patch with your sensor, because= I do > not wish to break anything in your setups. > Feedback is appreciated if any errors appear, so I can fix them. > I tested with ov5640, ov7670, ov7740(only in 4.19 because on latest it's > broken for me...) Rebased this patch on top of mediatree.git/master Thank= s! >=20 > Eugen >=20 Hi Eugen, No problem I will try to test sometime this week on my setup. I appreciate = you keeping me in the loop. Thanks, Ken