From patchwork Tue Apr 26 07:02:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 82681 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1njFE3-002DQH-5d; Tue, 26 Apr 2022 07:03:07 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343601AbiDZHGK (ORCPT + 1 other); Tue, 26 Apr 2022 03:06:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343571AbiDZHGI (ORCPT ); Tue, 26 Apr 2022 03:06:08 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36D5A6D383 for ; Tue, 26 Apr 2022 00:03:02 -0700 (PDT) Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 24CFC487; Tue, 26 Apr 2022 09:02:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1650956579; bh=5lWcQNuHrlfEtcILcwNC4+j/kXmxjOWF1VQ4q0MMiTU=; h=From:To:Cc:Subject:Date:From; b=EF8a+MUoA6o2ZISugawryvgokFDU/OYphj0lK1PhgetnuoNvnhAXjf4Haz3Qx/IGA jpQAsMZJ+MAgO3LVxjvodlsFljTA4LkeSf7r8pQwJyFN7gb9R5pqy0crUvxb/410Zg X9mgsT8VPTfPqVtOIXMTYEyLnC6emLlTfs3femUg= From: Tomi Valkeinen To: linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, Jacopo Mondi , Laurent Pinchart , niklas.soderlund+renesas@ragnatech.se, Mauro Carvalho Chehab , Hans Verkuil , Pratyush Yadav , satish.nagireddy@getcruise.com Cc: Tomi Valkeinen Subject: [PATCH v2 0/3] media: CSI-2 configuration to frame desc Date: Tue, 26 Apr 2022 10:02:37 +0300 Message-Id: <20220426070240.68100-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no Hi, v2 of the csi-2 frame desc change. v1 can be found from: https://lore.kernel.org/all/20220421142906.527918-1-tomi.valkeinen@ideasonboard.com/ These improve the frame descriptors so that the drivers can fill in the CSI-2 datatype and virtual channel, and make the CAL driver use that data if available. The only change to v1 is in the CAL patch, so that it allows frame descs with multiple streams (but prints a dev_dbg in that case) and always picks the first one. Tomi Sakari Ailus (2): media: Add bus type to frame descriptors media: Add CSI-2 bus configuration to frame descriptors Tomi Valkeinen (1): media: ti: cal: use frame desc to get vc and dt drivers/media/platform/ti/cal/cal-camerarx.c | 27 +++++++++++ drivers/media/platform/ti/cal/cal.c | 49 +++++++++++++++++++- drivers/media/platform/ti/cal/cal.h | 2 + include/media/v4l2-subdev.h | 36 ++++++++++++++ 4 files changed, 112 insertions(+), 2 deletions(-)