From patchwork Thu Jun 16 19:35:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 2089 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C973D3F0B6 for ; Thu, 16 Jun 2022 21:36:04 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id eh10-20020a0564020f8a00b0042dd9bf7c57sf1881860edb.17 for ; Thu, 16 Jun 2022 12:36:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655408164; cv=pass; d=google.com; s=arc-20160816; b=phXonJVQzI9i7Ax9e252EEUKr+wQVWO40jasgsuOMrDXY7zECtuk3N209fR6iO7qX/ jxphhBCF3Aq+c4ANl6Cq3P4BKVOVYqw1jdikNwt5ccCbTPjUyEe9ISvYhsuSV9RYgeKt HJFg5In0CRNDZrQKmUCdTaP5MqXdMxpJ0q8Cf+oi/9sumLihwGFtMS1DzcLhTcuYSKiA 6AOroTgxWp0TfjtWP2N4SWdbKxW0nwX0aV9rU1//g839DFhvntKuJ7r/i5890dS0RLu5 ok6MW97GCEdjYEv6yA8Ab2ZepvIPq0kIQU0B77IlSckBFIN2sh36fqdhVpBi/24TI5aj gDlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=NcPCRSTGwlq3O1HMvbSU0766LzlMYVywh++K0VrcmwA=; b=yNIV9Kv5BLpu9qiK4JJKbDRAisdp/4LYpg13kBbq8mJDsxZ4Wlbk9tHObJ/jQLFKWC DJdBQXt3TiM2N2P1oXT8NiRxqikf+IsvubVP3ETmx1t+yaBx9MJ3D7kNJaXyiu7rbCtI wsWJBkz1jf7Zeq6Ei6Xmv2j8l5B+nOAfMIXozb+Z3LCsejl9LmrwZQvn4ZNEYXHg5fDZ QIQUUsUtGin4erR7PEGEccVJU8vOVYJH71GlpbKzqThTDOxPG+uBtvRaAtuD2qIL1oQD MBnMF6XmmTW9SNyM6+UZQEKTWvmB8KS8eDKq/tCEDGLC70wkVDdBD7nKbxD2nAeJlrxO y+dQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SLa+9Bqp; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=NcPCRSTGwlq3O1HMvbSU0766LzlMYVywh++K0VrcmwA=; b=ooJuVHZqG3rfjtQ6XJx0uy33RFGkVtdWCc5XqnWgIAN0+r0bfvOKwmqJ4nNUOpZvsw ILQ1X7qlsb2zGwT51yAIJVVhGk5LSq6gb76+CvBT1M6Y9wYfPwqsQq83K+y1U1W5+FUL D5Y1pafPQz5KZqP44nYecn+AHhgQMhfLkKwxA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=NcPCRSTGwlq3O1HMvbSU0766LzlMYVywh++K0VrcmwA=; b=ffoR/GDb/fWrLgmErZ99GNFN+1oucAfYUTeKnjf0pNefdxdJD1dKSlEubgRbVPff+6 hGZk0IAaZQ1b+GyUmDql9E/jhmnO/+CXXhmBgw4+CdqsKybYOqaikWW+yQct2mIGU7hl UeWJuqVhQtLkJPVBJ6K9zJ7TbI3e+e2Txl3KANApQQQwNqVkGJIBOr3wXRj1xBHK9k6T MQTnAVsWkSeEbsNhSELhssuWrd1folJfuyODXrwbXiFWza3N7C2+eyhSUC8Fn5rlz0Uk Im2q+F1yI8BwXWptBY5kQ1HsmaOH/WOGm5BVp3zd7OXa4KaFx5OLj2JTSf56hrniJ6xU aBwA== X-Gm-Message-State: AJIora+RsrawbDWbaZJnNNIAVdmBkju/yqkLSqztSIW5aH20+n9oBITk BvdNQczbRUFHFwClRmW3ve0Zxjxu X-Google-Smtp-Source: AGRyM1trmGzm9KGwDtwyryWX6E7pQDqUlSn5jI3McCj231Rmc979+fWpjQPBQKZXoiqJ/bypmNQvKQ== X-Received: by 2002:a17:906:729c:b0:715:702f:1e4a with SMTP id b28-20020a170906729c00b00715702f1e4amr5958822ejl.731.1655408164342; Thu, 16 Jun 2022 12:36:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:2ad6:b0:6fe:976a:7a5 with SMTP id m22-20020a1709062ad600b006fe976a07a5ls150947eje.7.gmail; Thu, 16 Jun 2022 12:36:03 -0700 (PDT) X-Received: by 2002:a17:906:7486:b0:6fe:ffd9:b14f with SMTP id e6-20020a170906748600b006feffd9b14fmr5668828ejl.573.1655408163240; Thu, 16 Jun 2022 12:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655408163; cv=none; d=google.com; s=arc-20160816; b=0jBvSzPMi/CWZIiPhRNyEFs83HZC1TZYwCaruOm6nvgImE2wOr8zuvW7IMYzdVzY2x whtaWly6B1ZOBVustNNPq8zH+y/eGXfYXroFutgRE2dAwiJCN45W9a6VTmX/R/PT9Afd ePcUwHxqIhcIuL6PtJVyNXMBTWdH1mQcuXXR16PVWYAyXCJdlIgnjBdF1BFYJDuGKB+V H06Vfl5Lt1ndYYA/F22Z4ydZxhZEtG1rSm3qq3LoBlA5m7cON1adhovUl+5Dxb0lZc+z Cl+92vIAWrt6UdKmJouyy9eMtfJjYSoz/cSN2xrIkvgvn/X2+hgAoCzOl+DSdubG/evb U0KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=1bVSuCS8FMmq91L2ADmOSNbBndumqbkkBp92U6oaAfE=; b=ZFEIjvi0pfeWhikaBJP6mBeEcatUTXbs4iGhOfLXPZ4gqYKTGbNhazryV08AI4FGTU jbF8nZB3Sv+D32cGHpSHQ8PVh0zT0lgTnKB+4CC860Lz2aZlH76cGs+614i/LemjUcs0 t/yjUmX39OtpNCG9Ini+KvlkfAyKydqKAMvFDnhjyeN1IIt5xH8zAbB2omc5m9VqMRSV tXc0Z9FFKHBdxsMC15jImx6EV/rb0/33SnzDq/3HFrbOfC8kevs47o6TNO9TgQVPuQ4E IFrySp9ZqXF7F411060LZugzlRf8ZyJohjoQEZCglwZik47VE9hHiKGlY6exW+v7Q5T/ YYvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SLa+9Bqp; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id v1-20020a170906564100b0070afac782cesor1169483ejr.5.2022.06.16.12.36.03 for (Google Transport Security); Thu, 16 Jun 2022 12:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:d29:b0:711:d215:5a5e with SMTP id gn41-20020a1709070d2900b00711d2155a5emr5762355ejc.697.1655408162802; Thu, 16 Jun 2022 12:36:02 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-51-34.cust.vodafonedsl.it. [188.217.51.34]) by smtp.gmail.com with ESMTPSA id x24-20020a170906711800b006fec2097d53sm1130255ejj.118.2022.06.16.12.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 12:36:02 -0700 (PDT) From: Tommaso Merciai To: Cc: linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, dario.binacchi@amarulasolutions.com, angelo@amarulasolutions.com, Tommaso Merciai Subject: [PATCH v2 0/6] media: ov5693: cleanup code and add dts support Date: Thu, 16 Jun 2022 21:35:54 +0200 Message-Id: <20220616193600.1835-1-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: tommaso.merciai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SLa+9Bqp; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Hi All, This series cleanup code on ov5693 driver and bring up dts support. Inspired by recently Quentin series: - https://patchwork.kernel.org/project/linux-media/list/?series=64807 Tommaso Merciai (6): media: ov5693: count num_supplies using array_size media: ov5693: add dvdd into ov5693_supply_names array media: ov5693: rename clk into xvclk media: ov5693: move hw cfg functions into ov5693_check_hwcfg media: ov5693: rename ov5693_check_hwcfg into ov5693_get_hwcfg media: ov5693: add ov5693_of_match, dts support drivers/media/i2c/ov5693.c | 86 +++++++++++++++++++++++--------------- 1 file changed, 52 insertions(+), 34 deletions(-)