From patchwork Wed Aug 9 12:04:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 712805 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 49381EB64DD for ; Wed, 9 Aug 2023 12:04:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232689AbjHIME6 (ORCPT ); Wed, 9 Aug 2023 08:04:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232698AbjHIMEt (ORCPT ); Wed, 9 Aug 2023 08:04:49 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7BCD2123 for ; Wed, 9 Aug 2023 05:04:46 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3fe4cdb727cso46793255e9.0 for ; Wed, 09 Aug 2023 05:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691582685; x=1692187485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ik+Vesa+3vygs95Y3Ss7LgnvyJofDuuC47JEx/KwcHI=; b=rBxTvRqs5x9YfW32WqwG9bKnRxvWc3eZAGt+drtDI621w+e/LRxqb7NnIzh1c44VgF RACsQLtR7XVhRXDmbmRmk0BdoYTy7yBwbDlM4nduSU+N6F5IebS8+5mhKfPsWBlhHp0C g/NnAmDsGd2rrGzSSM9xJ4jrvVmEiAk32qyAWc3ZoNCz2q2DKeb3DCcLO/QrIMmlo2Gk AsfSKFTFAQPkk/7gE0gu7uVtEoVK94yr5Swsvf8ok+obKMViCeZRVCsXGrK8dZmdNxyb 3/NfhEoPBP2rF5x5DeC1DMm6gKGyr1t9zATMe/oflyTJ/ETiZFoUSJZD+VSL1x9NO/7L /wLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691582685; x=1692187485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ik+Vesa+3vygs95Y3Ss7LgnvyJofDuuC47JEx/KwcHI=; b=MfWGZBXnb6VVpBLj/zXx5oMgeum60FR+GlQEfDZq8YCsWYJcA7NXp1dcz/NnkPrL/U bgCgfix/apfRRtsQUcB978FqZJYdu0bB/bKP1CqKIjEtOQNQT/vvt/dgzJ//zwqJ1mKc Gp1GwlMp+iBxWVvpOnoJsZEhNHrrJOwCApyD6LR7peuPJExKWaVwz76oKvHcau4sOzJR l/zY8JOkgx/e7CiWyg+kA190Ws9nDZvMyLO9OgeHk3UMUk0HNUIfhxqFDU8/P8QwpOE9 Sf8n7IfRYWP/jr0euj3SVpiSnjwUVFBLwGuse9vB6fTZykg9OTP13A6CyHkpL4+IW+b0 /VAw== X-Gm-Message-State: AOJu0Yyly0fXoRS5r7t5C50qEYh42Qu4o9YrZQKeV+HLWZAjW2zt+vnS 5yGJr6fFI8IN8YfPgJQzCfPYFw== X-Google-Smtp-Source: AGHT+IH1egwPN7DJKbvHJ+pRj41qu864We1NH/hmj3uxHe5Im9RDLMTnqFEaRqK1um1pyaMooMzwCQ== X-Received: by 2002:a05:600c:211:b0:3fe:1287:d2b0 with SMTP id 17-20020a05600c021100b003fe1287d2b0mr2026246wmi.3.1691582685307; Wed, 09 Aug 2023 05:04:45 -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 b13-20020a05600c11cd00b003fe1a96845bsm1808573wmi.2.2023.08.09.05.04.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 05:04:44 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 7/7] arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases Date: Wed, 9 Aug 2023 13:04:32 +0100 Message-Id: <20230809120432.1036405-8-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809120432.1036405-1-bryan.odonoghue@linaro.org> References: <20230809120432.1036405-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org When we have no camera mezzanine attached it is still possible to run the test-pattern generator of the CSID block. As an example: media-ctl --reset yavta --no-query -w '0x009f0903 1' /dev/v4l-subdev2 yavta --list /dev/v4l-subdev2 media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:UYVY8_1X16/1920x1080 field:none]' media-ctl -l '"msm_csid0":1->"msm_ispif0":0[1]' media-ctl -d /dev/media0 -V '"msm_ispif0":0[fmt:UYVY8_1X16/1920x1080 field:none]' media-ctl -l '"msm_ispif0":1->"msm_vfe0_rdi0":0[1]' media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:UYVY8_1X16/1920x1080]' media-ctl -d /dev/media0 -p yavta -B capture-mplane --capture=5 -n 5 -I -f UYVY -s 1920x1080 --file=TPG-UYVU-1920x1080-000-#.bin /dev/video0 Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 84641925f3329..46cbeaa2f2acc 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -250,6 +250,15 @@ &blsp_uart2 { label = "LS-UART1"; }; +&camss { + status = "okay"; + ports { + port@0 { + reg = <0>; + }; + }; +}; + &lpass { status = "okay"; };