From patchwork Wed Aug 9 20:23:43 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: 133621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp73136vqi; Wed, 9 Aug 2023 16:35:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhwPdfh4bumQ34EP9eRk86tghXaoTCZLaCpTdX9KEuIapBUnO1dEzY7BmVDPhLV/x/7A8T X-Received: by 2002:a05:6808:2023:b0:3a7:96b4:cbe8 with SMTP id q35-20020a056808202300b003a796b4cbe8mr1064951oiw.36.1691624122434; Wed, 09 Aug 2023 16:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691624122; cv=none; d=google.com; s=arc-20160816; b=H/yH21NuPg2SbJ3qPgAu6x/qNCJ/a5YHU4spHOE+wCbtUa7SJxoRyiojDJU3OAuF6z bvnFw9VHuRdfmJyeXQz8rvxYi0og/iqzrQfmWBlBR7dhEyJZwJ5E/mU5aksqP0tbgLXO RskSycviIWE0Ygraxj7ZP3RrNaB4CJSBvO9UJNIvv6UqbqtHJPW0W5EFuoLf6jWWCzWA mqC1NoWCg4+ImIN9eg7dXaVEZYIoDJuF05AScCjnJJ5waXZxRExyPw8EALRoahmCJi4T q6LETHwEPAPpUOS3oUNre5kcKwPsvn6HbQGvYRLE6eWtwrQrdJEMkfUWAdjvx/dpkR8j cyHQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020a17090b050600b00263e423753dsi262635pjz.42.2023.08.09.16.35.07; Wed, 09 Aug 2023 16:35:22 -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 S234434AbjHIUYP (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773796456049540524 X-GMAIL-MSGID: 1773796456049540524 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"; };