Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2758692rdb; Tue, 12 Sep 2023 11:07:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZx4Yjl5AkgKaBsvofb/JXwXkzICZTlkIMLIkZVxP6WLmN13Hb+Avdiq7zfD4i79z/hLU8 X-Received: by 2002:a17:90b:e08:b0:268:2127:6cb6 with SMTP id ge8-20020a17090b0e0800b0026821276cb6mr39347pjb.16.1694542037570; Tue, 12 Sep 2023 11:07:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694542037; cv=none; d=google.com; s=arc-20160816; b=0UGCo9G10cv3o5Yfpqs/vBTHYoHx+95CmokjVc8s3Lv2uNzCHw7wx6eeNCLY5nmwdh WvXioduhRmTxUwZaSHmm8RIKp3wlGjclbvnzFn/Xfinmr6Xd+XELBj+ykUyJXEwMAmaF CuKm/0FUKo/kbbV7FHyCeMFuDNdDdQk1I/NChNjqL5s+SlEnqD1gFvEGctUpeQ5PM7+w vcvWiNy8lIbNk2oaFhXp3JGx/xqUvKBb4qU/OAK7Lm9vX/+OwcVDUcxVl9GaKO3BCvaA oFQJrsdSekNzVIMT/n0qagkeHloTJDHlAmpiJqR1Cs9BlSEwIfiBRLBQyk2LxLsk3kZt cXIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZX0p9n258RKJw9Zil21PFrkzz1tXD1erpkGkR5L1YJ0=; fh=5MAJ6mBaP5kt6onR/gXZnJPUncV5bXMpz0XapGsjH+s=; b=db0g8EVmKQwGb1DZW4Ea5PlYTcQ1ZxVFb+D3RQT/kqsddR/FlKzhbz4gNhnqGU0I5D k0VKWFToHfwtWDHKvuIOqiZRrLYF54kiY4NhqX32zOgkkgpOyD6dWbKbQPGQdRteSBuw nMb8oluxsw50NdfjLvLGUY/FPxRJAanZ1Dqf839GaBot+FKEX6OqFjjOwqTxm5Xwt6xm OpvMwCh7+0m7YPkLDLrw3uyhdIWhYJtSt90QxLeN/R/4z9h6EICv6snDXQhik7ewLBbO /JvRWH2lFJ8BvnEf1paW7+Yyk84bmvO5GoBonLw0gVNkdkR9oNS+0KmrB8xQlQasZR6s NLfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lhzdj8NL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id nl9-20020a17090b384900b0026b74f6aaa8si10413916pjb.63.2023.09.12.11.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 11:07:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lhzdj8NL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 97B92809ECA2; Tue, 12 Sep 2023 09:51:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237084AbjILQvW (ORCPT + 99 others); Tue, 12 Sep 2023 12:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233352AbjILQvV (ORCPT ); Tue, 12 Sep 2023 12:51:21 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 138E9115; Tue, 12 Sep 2023 09:51:16 -0700 (PDT) Received: from [192.168.0.106] (unknown [186.235.7.101]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4F096660716C; Tue, 12 Sep 2023 17:51:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694537474; bh=bANnTvmU8LwckEh4pqHcX7oSHDmyK0WOCRmfn4AuPWk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=lhzdj8NLbl2wa20LRvoYJ8oMHy7YBp3AyXB7cesPj9SMEQ4L78Xfs90FDTrtEDt60 RCuPKZ20oIj6VpbDjL6+kNR0XI+JK7txftGWi23A0eTD7Y2IYn4PkKe8zDTYmvMtVV sigCGm9AgcPGDwU3ISYVyyn7ZjYFp2JzKdCOna16j7luKP90nyZ92NlS2Tycts+Ltu EF1L/myRy1l8RAIRojBpdrFnvTBKKEArJpoQg2lWrQoOMS6QerI8opigxODJ4wUTVH lw7f+EkO04mahk42+k2HxCar6QUbPRq8fRNEe9hE6JU9qZ8dP2g6toZmgR56B5VPri ZlfCnjb2fNZdg== Message-ID: <782c7762-4f83-c942-034e-4da463d82412@collabora.com> Date: Tue, 12 Sep 2023 13:51:03 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode Content-Language: en-US To: Vignesh Raman , dri-devel@lists.freedesktop.org Cc: guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, david.heidelberg@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, angelogioacchino.delregno@collabora.com, emma@anholt.net, robclark@freedesktop.org, robdclark@google.com, anholt@google.com, robdclark@gmail.com, airlied@gmail.com, daniel@ffwll.ch, jani.nikula@linux.intel.com, mripard@kernel.org, dmitry.baryshkov@linaro.org, matthias.bgg@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org References: <20230908152225.432139-1-vignesh.raman@collabora.com> <20230908152225.432139-3-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20230908152225.432139-3-vignesh.raman@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 12 Sep 2023 09:51:23 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email On 08/09/2023 12:22, Vignesh Raman wrote: > Due to the presence of the fastboot micro cable in the CI farm, > it causes the hardware to remain in gadget mode instead of host mode. > So it doesn't find the network, which results in failure to mount root > fs via NFS. > > Add an overlay dtso file that sets the dr_mode to host, allowing > the USB controllers to work in host mode. This dtso file will be used > in drm-ci, mesa-ci. > > Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard] > > Suggested-by: Dmitry Baryshkov > Suggested-by: Maxime Ripard > Signed-off-by: Helen Koike > Signed-off-by: David Heidelberg > Signed-off-by: Vignesh Raman Acked-by: Helen Koike > --- > > v3: > - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom > > --- > arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso > > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso > new file mode 100644 > index 000000000000..a82c26b7eae8 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso > @@ -0,0 +1,8 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > + > +/dts-v1/; > +/plugin/; > + > +&usb { > + dr_mode = "host"; > +};