Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp276487rwl; Wed, 9 Aug 2023 14:31:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsfLOe9hGI94LpfW0yjqC9ViqJ3E6ol8B1p5yG1EFf9AdQS0pWeW4pA+R2IPKs0scS0HNh X-Received: by 2002:a05:6a20:3211:b0:134:a478:6061 with SMTP id hl17-20020a056a20321100b00134a4786061mr427989pzc.26.1691616678714; Wed, 09 Aug 2023 14:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691616678; cv=none; d=google.com; s=arc-20160816; b=gfHND4uKpTmyMNZgR6XvKJWpkz8fsz3438b+7b1RC+537veiy0GvpH4n4Bw12hBcb4 zxhNSQfdxItWVAoOg6N2Jp5qOeCfKqAX9fdgzKWAh34FooRkQQsD64et1O9Q5nZsOumi Re+hj80KPk3bcdQ2IQkblJbncw6EsHMTUIW+w3/ZpgF7S+j05ouVhX8xo9g7paJBPZDK nk6oP3gIXLyxUk5bRbkZB3FG/Z+lKqUYaj4tt1PinDRd3U5LsmUZHmKd/wtkTo1BUjiE rT9/QWIp8OKZlabsgSGsS5BBna8lidrkpV5tEgtFU4Auz1Qs+1BV8oCTOF//4HZJ7Hf7 nQoA== 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=HdqJgWZNg40t68LcXb+7Hqc71sK1xzdweXSJa68+4X8=; fh=Jre+M8HnQv+dEMebWM4puuMMxrAx5K/ojGybTBbgftE=; b=t+HL5JPvRQX0Ze3FeDtfr1iOTPVEkvL32zObpLE2xYRBMQrO2F6FiKEmxIhrCwfkol S7ymq2vdrrpyrb6xxoHJZ1NdWaC9CjLVuI41Z2e6ToxgCFQvhZ69a7yYmqEdzwxB/fEo Iaq35vGTd4wQF8Ky4jmLIHc4MCsOUwupe2oxjhD7/b0MTTEMY7So8Tm6dhwnS+kPBV9V cbLXdnfUd4rkpIiMktDxcwfKPT86X44sDF5ymNs6K/8tE4fRlBfYLSqNNbqloEucHeS+ KyU0smGi4k2OG0DLtVt5bYJUtuEgPJvk2336JvB2Um7Cd67s6p419WnUfMvH9xo1ADCR 0i9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlimNmWO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cj16-20020a056a00299000b0068755adedd9si90771pfb.223.2023.08.09.14.31.05; Wed, 09 Aug 2023 14:31:18 -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=qlimNmWO; 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 S234492AbjHIUYP (ORCPT + 99 others); Wed, 9 Aug 2023 16:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234361AbjHIUYB (ORCPT ); Wed, 9 Aug 2023 16:24:01 -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 DA7AC211C for ; Wed, 9 Aug 2023 13:24:00 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fe1e1142caso1542575e9.0 for ; Wed, 09 Aug 2023 13:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612639; x=1692217439; 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=HdqJgWZNg40t68LcXb+7Hqc71sK1xzdweXSJa68+4X8=; b=qlimNmWOiJYaLq+nu1wUcOggc63JmCYXBWV1mCJOkLYtE/6+BOxu/5xilLIyr9VkiI 5Vl4We9kecevx0e1xufKEWnkczBfzggPBIxWOmfUXkq9K05G4F8+xboS2eDOmnpurSRs UeTT3XqKzxQRZSlt1sNoo/mQYWq5tD5dTgolqTwX3ur7VdX10eNRmRmaRyo0kRx53O0e kBOARTbxBV6XE0PuR4D5C8EOg3GNwSFIBmZCpLel7RuP4Pzh+0HtT59Mpvu3I+lPlWl0 LCenSf4g+xsb66dLlS6rXnpN+UlRza/ImTTJFxs9CayUY6cQiPN+jfSsYYVFhKETiMWO gpNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612639; x=1692217439; 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=HdqJgWZNg40t68LcXb+7Hqc71sK1xzdweXSJa68+4X8=; b=gIcyqsT/N/oTdJJdfVy2vnxP1+YI78HX74b74V+RXIBnAbzsUPrrhNYsgpPCp8XMOF 7Mt3VqIMmf8K2wn+LozbuyVTnQQX0O2EjwMWeqdtEBWeUWDy2r0ZxFMHqcSBsqPIvz9e 4VbjpFj+g1RNG2iFroxCwIUPDPOyTCM2b78bByEUXQs3dGkYGJJ+DnGue4PEeTUXA3GR CH3g8IWXdW8qiQkrMNNebJpn9RrjVdIvdAzcUR3DOntPmEZ0b6ANOQsJtSDGAiR2sQkW s8drvb5sI9zDfQJibCEwRt+OqM2do7Q6O7jJIupEnrE7KrujB3mnm34ubGOND68k3tLO oYxw== X-Gm-Message-State: AOJu0YzGYjC6duVB0FddPGgik1x6pouwuxDg/N+tz8VSYp/JnE+XI0jG V//z8t3G6qIiLOu7dvnjxFk6Pg== X-Received: by 2002:a7b:c3d6:0:b0:3fe:5501:d284 with SMTP id t22-20020a7bc3d6000000b003fe5501d284mr187431wmj.11.1691612639322; Wed, 09 Aug 2023 13:23:59 -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 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:58 -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 v2 6/6] arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases Date: Wed, 9 Aug 2023 21:23:43 +0100 Message-Id: <20230809202343.1098425-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=unavailable 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 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 84641925f3329..4f9d6f6ec1157 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -250,6 +250,16 @@ &blsp_uart2 { label = "LS-UART1"; }; +&camss { + status = "okay"; + + ports { + port@0 { + reg = <0>; + }; + }; +}; + &lpass { status = "okay"; }; -- 2.39.2