From patchwork Tue Jun 7 13:40:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12871944 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98D4ECCA481 for ; Tue, 7 Jun 2022 13:41:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244849AbiFGNlF (ORCPT ); Tue, 7 Jun 2022 09:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243700AbiFGNlE (ORCPT ); Tue, 7 Jun 2022 09:41:04 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708E4BBCF4 for ; Tue, 7 Jun 2022 06:41:03 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id l2-20020a05600c1d0200b0039c35ef94c4so7529513wms.4 for ; Tue, 07 Jun 2022 06:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vPC6jxZnfPfgNm+MFhmEhunLFXf399c7vY0MUZYvuGU=; b=q/4xL/sdgvlK9gvRefdJknaYtO6jVRw+QgSII+KKedhvZ6gVfvufuqh6rkFUVMEDFu LQK4imouXb7W31iozQUeskBgOJnLtO5721jbjOpj4PAYGIZbE0d9/vJ5QASCX2EdDghk LyhSYt5Dzzu7CPz65GHJaySYWDWInrW3IA0L4FEsWVZhr3f6I7lHa7qDoN10WnQMRUW4 xDzI9nMzfREJnsC4DE7GQL+0WtM/TYTzU3RpKtG/nsHm866AOJgtpxGL8orTvuLpMVsO HRpdLXXWR1Rgtp8/+c80un9QMQwCqtVUAJQjbyoDIe0asE4PXixFcmRDgwIlBLWeNOjb dgOw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=vPC6jxZnfPfgNm+MFhmEhunLFXf399c7vY0MUZYvuGU=; b=b2wAAPxHhtLCCiEL7X7s2zqfdRIrvfDsHR14SzFKtIQejm04ot7wB5lnZy296iTtBF UsiuLs+MBAYq/LgIMW/Xe46U9ow5UFVPnmRSXaI1gT+tUAj0Uy6msiVwRmqzRK/EFklV Pjrb6lkalmlOKkYYmmc92TGZr/7dqR0f96iFPd8rJXtVPbf/ILPraGWEL8J7aIrxtHiv rRgOMLOPqjT16LDsC8SgAvS957gwdEA5kUca2uCVRGW+H2GgOpUQWRjfpGt0F2uVgzmK KWlU0aI8SjO8UVHIabEuPcjMqQm3hiJQ4WQ2efwKrY5cqI8vItRf3G1HzF07HoPbRZaV p2NQ== X-Gm-Message-State: AOAM530lA0J6OIzvIYrDl0ja5UWbgplFq0PQ1OmUmjzf1YbmCAAwJbuJ pltEvgo6nNgR0lEuMZ/13jKnOTJKC7faIuBX X-Google-Smtp-Source: ABdhPJz86TJAdibcSWQ0FCz127XuuMbcMfcUyOt/cqsyQ1mKDtqeJYR+8BNjfLLlb0vhI6s6TXNUmw== X-Received: by 2002:a05:600c:1992:b0:397:8d3b:8a9b with SMTP id t18-20020a05600c199200b003978d3b8a9bmr53365160wmq.20.1654609261796; Tue, 07 Jun 2022 06:41:01 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id k7-20020a5d6d47000000b0020e5e906e47sm17818792wri.75.2022.06.07.06.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 06:41:01 -0700 (PDT) From: Bryan O'Donoghue To: sakari.ailus@iki.fi, jacopo@jmondi.org, paul.j.murphy@intel.com, daniele.alessandrelli@intel.com, mchehab@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: dmitry.baryshkov@linaro.org, konrad.dybcio@somainline.org, andrey.konovalov@linaro.org, Bryan O'Donoghue Subject: [PATCH 1/2] media: dt-bindings: imx412: Add imx577 compatible string Date: Tue, 7 Jun 2022 14:40:56 +0100 Message-Id: <20220607134057.2427663-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607134057.2427663-1-bryan.odonoghue@linaro.org> References: <20220607134057.2427663-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The Sony IMX577 uses the same silicon enabling reference code from Sony in the available examples provided. Add an imx577 compatible string to allow for chip differentiation and accurate description of hardware in dts. Signed-off-by: Bryan O'Donoghue Acked-by: Rob Herring Reviewed-by: Kieran Bingham --- Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml index 26d1807d0bb6..d1561841ccbc 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml @@ -19,7 +19,10 @@ description: properties: compatible: - const: sony,imx412 + items: + - enum: + - sony,imx412 + - sony,imx577 reg: description: I2C address maxItems: 1 From patchwork Tue Jun 7 13:40:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12871945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFB31CCA47C for ; Tue, 7 Jun 2022 13:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244847AbiFGNlH (ORCPT ); Tue, 7 Jun 2022 09:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243668AbiFGNlF (ORCPT ); Tue, 7 Jun 2022 09:41:05 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 125ECBBCF4 for ; Tue, 7 Jun 2022 06:41:05 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id k19so24214618wrd.8 for ; Tue, 07 Jun 2022 06:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yHhpnE3ZGoGrvzDhV4NP/nzD3vM7kpqOZlaREnhoQY0=; b=gQAfK2ZOiazGohPpp6VRZ/kpQrAejiW+Qpq5KT1xRympXKTSMu/Xp+B3sxQ85v4e9E 28/PIDOFbXaOS8ygg2LsA5PtOgiOLpmHGoOiDsyEAlgx/GYC97g8yDdIevpMRXkWNxwL tvAVKWSIw1Sz2BhzFuV/LUTGVQwqBU7rzVddCn/JmOjgBRC/p6GH5Gkole0IhAIdmdjb o/cxuj3mp1jzg1qN6eTE7QKTpyI5xAJ853sXNClLeEcXPN8NXCa5b00C82k/XLl3q0CT thbxpQlfNkL9G9nz2Xw9RuQq5Ael7ZwIs81cqoGzD1ywCHZvUo4TvirtDaMlWDUbUKtl QmSg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yHhpnE3ZGoGrvzDhV4NP/nzD3vM7kpqOZlaREnhoQY0=; b=1HtzMMfBEIZsTLlUu6criA9Lu6NcWKHaMyZUPzwdLrbOcoY/BvdK+wG0cBy1rPJ6Pr D0gOyl1ay6gWp3qgLJSsHV7vmXmdELrGRYPa6SMWySZyJkDjblSKuEyqYyGBfjSlMRdt UPlDQldHxryDR2TYD+cMEjw/JFQV8VTb/nRIch5a8jIOyc3znI9/+KZMZI7dReqjFVYZ 53MyjE2Ie7dcpPWQFVQXERohcvWzN+XRhpQfe7Mhc9oa4epmRIefdHw/Fc7sf9VXEv4p dgngjf7erlpRD24v1NhYlWZPe/fvFYrrxQQUNEH70S9e+Hg3/5bAd14ckaf5klP3oakI Bc1w== X-Gm-Message-State: AOAM5313mi5INYsg5uD6cNwPAZgmlMM9Iizws4OvZ/T9+ol3FaR48/73 89A4zptPHZMdDiQfpUaRp3gfGQ== X-Google-Smtp-Source: ABdhPJyP5Qh5pg6XinTmumB5XFCgRZc1lxZeylfUypDYGHsl45Fk9zqVp1OTsdQUBGWwcd3O1l+BpA== X-Received: by 2002:adf:e9c5:0:b0:217:56ae:c661 with SMTP id l5-20020adfe9c5000000b0021756aec661mr13931983wrn.513.1654609263287; Tue, 07 Jun 2022 06:41:03 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id k7-20020a5d6d47000000b0020e5e906e47sm17818792wri.75.2022.06.07.06.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 06:41:02 -0700 (PDT) From: Bryan O'Donoghue To: sakari.ailus@iki.fi, jacopo@jmondi.org, paul.j.murphy@intel.com, daniele.alessandrelli@intel.com, mchehab@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: dmitry.baryshkov@linaro.org, konrad.dybcio@somainline.org, andrey.konovalov@linaro.org, Bryan O'Donoghue Subject: [PATCH 2/2] media: i2c: imx412: Add imx577 compatible string Date: Tue, 7 Jun 2022 14:40:57 +0100 Message-Id: <20220607134057.2427663-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607134057.2427663-1-bryan.odonoghue@linaro.org> References: <20220607134057.2427663-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The Sony IMX577 uses the same silicon enabling reference code from Sony in the available examples provided. Add an imx577 compatible string and re-use the existing imx412 code. Signed-off-by: Bryan O'Donoghue Reviewed-by: Kieran Bingham Reviewed-by: Daniele Alessandrelli --- drivers/media/i2c/imx412.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c index a1394d6c1432..3b7011ab0a8f 100644 --- a/drivers/media/i2c/imx412.c +++ b/drivers/media/i2c/imx412.c @@ -1282,6 +1282,7 @@ static const struct dev_pm_ops imx412_pm_ops = { static const struct of_device_id imx412_of_match[] = { { .compatible = "sony,imx412" }, + { .compatible = "sony,imx577" }, { } };