From mboxrd@z Thu Jan 1 00:00:00 1970 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 C4569CA0EF5 for ; Tue, 12 Sep 2023 16:51:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237059AbjILQvV (ORCPT ); Tue, 12 Sep 2023 12:51:21 -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-arm-msm@vger.kernel.org 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"; > +}; From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A743CA0EF1 for ; Tue, 12 Sep 2023 16:51:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6262810E445; Tue, 12 Sep 2023 16:51:17 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id D48C910E449 for ; Tue, 12 Sep 2023 16:51:15 +0000 (UTC) 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emma@anholt.net, virtualization@lists.linux-foundation.org, krzysztof.kozlowski+dt@linaro.org, robdclark@google.com, david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, gustavo.padovan@collabora.com, agross@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org, daniels@collabora.com, linux-arm-msm@vger.kernel.org, mripard@kernel.org, anholt@google.com, linux-mediatek@lists.infradead.org, robclark@freedesktop.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, guilherme.gallo@collabora.com, linux-kernel@vger.kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, dmitry.baryshkov@linaro.org, andersson@kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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"; > +};