From patchwork Fri Oct 14 18:34:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 136 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp325959wrs; Fri, 14 Oct 2022 11:37:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4NPmv8Bo5dXgg4LDlmQVxuqfcZtQ8zes1rF3FiAVZk3H1isPIc3Lwt1+xJOz+f1bLNbIzu X-Received: by 2002:a17:906:4795:b0:78d:f45c:73d9 with SMTP id cw21-20020a170906479500b0078df45c73d9mr4610343ejc.144.1665772655270; Fri, 14 Oct 2022 11:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665772655; cv=none; d=google.com; s=arc-20160816; b=yMxrRM1AeEFpiNZYC6o9AQiVz2+d0JnIzF6BqBT0RUEewCsxhujsf+fmShmLNAApbh MuosSf7TkGvrAZUkDqm3RuJruOYKY+gYaI5VFShjbBUiGdfGoJPj7n5jyV5GutNGd8X6 sLHXNkgt4Etu8RAY3bjBfTWQen/h4eACtyJEydcaDtkqo3eP+Y2NVZkV3omSxZfPhE5g mW1aoFHn+DF1QW4kqObQHiKz8HB0Af3lkfqWM5Rpw3FQgNOINTW+6/pqe6Z3au1AsGO3 mENzK+hu6cLsSQZ3wJ1525PUB957q9rMiPYbSL7j0qegdb8XbuB7DyLKyOpHi5dwOPzD AKDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+qOL/iKcZGPLu/1YRxFH9hlgpWjHigg9iXBISYd9lB4=; b=mf2fdvnuFgTQ9x5sG2KXcMZkdUeMdHmbZr/LAljAyB3GNYbMmmhfaUjEp5M6+Ya84x k16mPxzC1Odq2Co4S1DuAMulY48u2xs4NxaDZpzGClX3n13RXi+glm/oURIO7tDhpGxX TlxoXn+/a1NLU/56wG7VV1OmOOkmcAj+mXd85SFCQqo0u6dnZW0FhmtnFvJWAh1rZuZx scfV5JQq7tWYGulcIcda77ilNao05xkKo9rzgVMUVSZscSKX6EVyplPC05TGM4YVaA+7 UowGi+ZogPiyedKkq7DBCnw9TeHIDdspk9u+yjJghQ0OyWV27ZQzoNaxCCLDFJCVk5pV nAWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e025hcg0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he19-20020a1709073d9300b0078bdbb52361si3371244ejc.209.2022.10.14.11.37.09; Fri, 14 Oct 2022 11:37:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e025hcg0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230491AbiJNSfe (ORCPT + 99 others); Fri, 14 Oct 2022 14:35:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbiJNSf2 (ORCPT ); Fri, 14 Oct 2022 14:35:28 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D17D88A31; Fri, 14 Oct 2022 11:35:18 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id j7so8896558wrr.3; Fri, 14 Oct 2022 11:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+qOL/iKcZGPLu/1YRxFH9hlgpWjHigg9iXBISYd9lB4=; b=e025hcg0iYOrxQAl774n7xh8vRKmd9KfsoEuOsmX3LDK9MQueog38aWf2dKEvYhUn2 Fk3PrYQDiH3xINDqo5RML+K9OERlJe7ksaHW92oZLjyh/7GeNX47+ajZ9aQfDy3qj7Ud uqKXOWuOpIXL9Es/3LXhb1fNiILo97cgmeYPK/eqx17iQ/jKysE1VWlX/hagQb2HUmTj ehwCn/nVqHpZoxC2Xws8JgjJHdwtVoJ6+H1waxTbQlHWIx1bxfdpztG8GuMseQdKrQ25 SVIB4GYHqkuCLRsdvlAiuSYKo4mlmjgezBWrxxw+H3r1FRDj2B9hmih/YdkCW3jzGe/H JZIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+qOL/iKcZGPLu/1YRxFH9hlgpWjHigg9iXBISYd9lB4=; b=7YZBkkDmoqg5vQRV1Kxd56Bt0T5s0AQ4/U9AaevElTlbQodtIGewvLdryrEbXUn4KF xeLReCViyH093838CvxK/JOml57/xMxll/5GCVjl1NhUbAZ0thqR36WmKRoZyZnva5Xl zKHcUWygU9rCgcUkrMNiBHi8cUJE++eFLUT6WWyBlCdOutBRaOdEJdzh0RDw6TPBTgW2 gG1EeiszuKHzIfoBL5JkGvTlVRTtUYb3LgRCJS7mIt3joTZKDAkiWPIN3q4VGOlAQjwx Bv6fMvYyjPR9OeGlIF3LD96IcTQdJxpnoEYRXP+TSRRA5gVFjIu2kAywRRUc3wCIfpMO CnQg== X-Gm-Message-State: ACrzQf1L96YXDRoI1XR+pg46Yp37djed29XjImHnXYsoxzYIUIehqf39 2ZfN1Jf8OfTz8hPwJohQ0Uc= X-Received: by 2002:adf:f5c5:0:b0:22e:264b:2179 with SMTP id k5-20020adff5c5000000b0022e264b2179mr4191486wrp.386.1665772516880; Fri, 14 Oct 2022 11:35:16 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fc4d:6548:d8bd:5bd]) by smtp.gmail.com with ESMTPSA id h10-20020a5d504a000000b0022a403954c3sm2485410wrt.42.2022.10.14.11.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 11:35:15 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Sakari Ailus , Laurent Pinchart , Krzysztof Kozlowski , Rob Herring , Mauro Carvalho Chehab , Hans Verkuil Cc: Shawn Tu , Jacopo Mondi , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2 0/5] media: i2c: ov5645 driver enhancements Date: Fri, 14 Oct 2022 19:34:54 +0100 Message-Id: <20221014183459.181567-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746689227655405364?= X-GMAIL-MSGID: =?utf-8?q?1746689227655405364?= From: Lad Prabhakar Hi All, The main aim of this series is to add PM support to the sensor driver. I had two more patches [0] and [1] which were for ov5645, so instead sending them separately I have clubbed them as series. v1-> v2 - patch #1 is infact a v3 [1] no changes - patch #2 fixed review comments pointed by Sakari - patch #3 [0] no changes - patches #4 and #5 are new [0] https://patchwork.linuxtv.org/project/linux-media/patch/20220927202005.750621-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ [1] https://patchwork.linuxtv.org/project/linux-media/patch/20220919153540.178732-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ Cheers, Prabhakar Lad Prabhakar (5): media: dt-bindings: ov5645: Convert OV5645 binding to a schema media: i2c: ov5645: Use runtime PM media: i2c: ov5645: Drop empty comment media: i2c: ov5645: Return zero for s_stream(0) media: i2c: ov5645: Call ov5645_entity_init_cfg() before registering the subdev .../devicetree/bindings/media/i2c/ov5645.txt | 54 ------- .../bindings/media/i2c/ovti,ov5645.yaml | 104 ++++++++++++ drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/ov5645.c | 151 +++++++++--------- 4 files changed, 178 insertions(+), 133 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov5645.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5645.yaml