From patchwork Fri Aug 11 23:47:38 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: 134806 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1485833vqi; Fri, 11 Aug 2023 19:57:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9b9xTdUUtFwGMyfUwpoYQCq6y34T3e/SO4mGnCzWqvpZq43BSjfuZWAPpcV3ARe6B3Kc6 X-Received: by 2002:a9d:6ac2:0:b0:6b9:72be:671f with SMTP id m2-20020a9d6ac2000000b006b972be671fmr3741422otq.16.1691809074238; Fri, 11 Aug 2023 19:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691809074; cv=none; d=google.com; s=arc-20160816; b=UtyYqlSExXhK2U73vHbhO/xLdNILwZP1fP8stR6sitJAOpaLnuNBgV4SATs/gaNkYu LWQ2uNquMKyen43qxizuD/WA9VGwxHom8Y9OHs7rbwj4EgkHcx+D+8sAoQmbp+GM/jLx T4l8sF1S+ER3s8FnCFz6CtxrwY99hCL6JFGaj86rmNdbRfMwvoHJhSoOXOkJ/mgLlpod i9Zopx3c7NaLV4mgwpk9lW16oJyASNtNV3PN2ZRbrpT2BaMJFO0e1gPT5dzULAWo9Z4F zMHLCLZqvXmWdaNov2ol/hT8eEesoMtT3OHH9+lziobyz/AENtJ+0yQLjRplLzHgeGsW 2mTg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sOzVs2HtrX5IhBLihgAUak82ejGShDB5s4kZ2H5Eq+o=; fh=yoWMU5BjtLQlCKX3ppr//+j0ySi+66kW4Eunj/C1M04=; b=LqoHbp/iPpR7e6V0rBl5Gatjr5Jln/MObNQ90j8Sjb3F7nynPSMxBNS4EpCC53hUcW tOOmVESWQEUgP/mnltXEbnPF9XCrhLzjMy3UweQf32yoc/bPlZIIiSPwddw/SAws9ajQ nXqzSxvgugJrTJawL3xmeLDdnmQpXoPDNDem5UinYKDZ26uwWBjmmHGtAPY/kV9iowkx jrTykPc5bnI16d15XouaDLfPKiFEeOA5DyaRLr/5KS/Wst7tiataKHhoxP9IH5xA/khE 9vYNV+4oMWWoKzqlYpeyj6DWfFRwpXEToKXX6gsBYIc8oDNtRCdsxoRFh1zQKCBBidw7 rAtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nt8B5jnm; 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=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902c40300b001aaf1734d1dsi4439452plk.241.2023.08.11.19.57.41; Fri, 11 Aug 2023 19:57:54 -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=@linaro.org header.s=google header.b=nt8B5jnm; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237329AbjHKXsH (ORCPT + 99 others); Fri, 11 Aug 2023 19:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236609AbjHKXry (ORCPT ); Fri, 11 Aug 2023 19:47:54 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEDC62709 for ; Fri, 11 Aug 2023 16:47:50 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fe1d462762so22243145e9.0 for ; Fri, 11 Aug 2023 16:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691797669; x=1692402469; 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=sOzVs2HtrX5IhBLihgAUak82ejGShDB5s4kZ2H5Eq+o=; b=nt8B5jnm6QQZDVNhKcItbainDmpNnuo9IrE8q/LzXVU9XaBt74T+MzJENnxfoQTlq7 mvof2jARSJqqDFGWqj3zbNF/E0C8ykZqY5YBzFk5EzBV/GNC4+UyF2/k8onu7ujfER8F vdIuNJOVzBtlauaaPT2D5NodR68Gm8p1dRxUZ8+TzcQBlQibslK6ENijGWGp/4LH4yoc AH9YiTf6D3j5faBiG7wBah0b5cD7GV7cI9bmow8QJnOLZAdn8fDku7wIErnAKMAJXWkN 4Fl19+d4MLE9GDBK1krOyiZQ8d72k3ggoxDgol5hE7tOZczdc8qefJrVJoCLlyVhj9Ld AMKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691797669; x=1692402469; 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=sOzVs2HtrX5IhBLihgAUak82ejGShDB5s4kZ2H5Eq+o=; b=X9rmrBOkx6207LmBZ8AB/0H2a6JMUcOdWYKH+yWDmzU1XzFdVhw9we+IVmSBC2ZRay dw4/XRCoIZJOh7hfws0MKiXqG8v0FlQ/ANsmRKiOkVS9SPUlYma9qq89acoGqftOr3H3 Zwgc8mCTreHVBKNKkxgdqMu6SCzkpo3L5j9DSayfd6lYY/9MbDRkbKxHf4EptMgoAVgx xEcPm4JP1ViSXsijzbqR7QGknbyk5jwq5GWpU1kgqLY6LAQfeg100P6gNDcg5gpe+sqZ czwDWu67TpPytziC7hhBeKCEE10Ymk1Ej2QPb7lfQ9Yfp+rw0gSNo9HF29jQQ2EjX/k9 FtsQ== X-Gm-Message-State: AOJu0YyJIjasH3TsEW7JZOB6ZxLbNShjygzStoV85kxfvTYC3KHmJoB8 32igW28+DYm0fxaUeB5jYAT01A== X-Received: by 2002:a7b:c045:0:b0:3fc:27:7e46 with SMTP id u5-20020a7bc045000000b003fc00277e46mr2611933wmc.3.1691797669404; Fri, 11 Aug 2023 16:47:49 -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 20-20020a05600c025400b003fa98908014sm9599051wmj.8.2023.08.11.16.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 16:47:48 -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 Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v3 7/7] arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases Date: Sat, 12 Aug 2023 00:47:38 +0100 Message-ID: <20230811234738.2859417-8-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230811234738.2859417-1-bryan.odonoghue@linaro.org> References: <20230811234738.2859417-1-bryan.odonoghue@linaro.org> 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: INBOX X-GMAIL-THRID: 1773990392169412513 X-GMAIL-MSGID: 1773990392169412513 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index c3cd08aa5c85b..4f5541e9be0e9 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -226,6 +226,10 @@ &blsp_uart2 { label = "LS-UART1"; }; +&camss { + status = "okay"; +}; + &lpass { status = "okay"; };