From patchwork Mon Jan 30 08:47:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 13120509 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C9FE2C54EAA for ; Mon, 30 Jan 2023 08:50:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Fj9OJYZ1YEJQ+OqQVxw5ZhGSk3g7ZFKHJjID9U85IfA=; b=sRIebuFRc8RtdW cu5AM06xTcP0CxBE9rIKTxw8EaJIr43y/faW0sIRA1YgDYfsnx01M9NDf88rr9t70DB02h+KpB/W5 UpZkEv7wcTCTrFgcq4O32dqkRQzRSKrRX9tvMekuMd3fEZ1c7+/WbSRAOu1WhPlOkLh62TQYaCs/2 /c0F6jPMVwF97vPnMuQOhvNKVM7+8kU5Do1xBD/SoEnVNlrtsAjvo9JCCxEoTeoUJ8yJU2Rt3YPko DvOhZyokt9uRKEFS2m4qrmznrzfbObDYpC0wUSiYYN/p7j8kyUfnLXgbt6WyFg85E3yukWDhR2D+b wLhhF0V9E9lkW+1iAPsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPrS-002haY-8a; Mon, 30 Jan 2023 08:49:58 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPpi-002hEg-Tp; Mon, 30 Jan 2023 08:48:12 +0000 Received: by mail-pl1-x634.google.com with SMTP id v23so10873238plo.1; Mon, 30 Jan 2023 00:48:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=TN176PLvjJF0nSpMtEIYwjcbJii9Pi8z010fzWsc/60=; b=cXscAbh4RSxdbroBR42HnHiwk8gyb6/G0Apxu4SW9Jmzw5WVnzUvlSDjFBYI+6lTLg GUG6F2Uh6UBESCc7yA5ZWTy7WHrPB1j02p2honxyrfZVdEwlSmsFWYFNXnPGsuKekclY irbwu4Fl6EMnyxScskWMBSWOBajRyNf0zWoeqSSWHHkADM1JxzJBkpHVA2ZQpqavy3MC zt1sFhh1Ff4yVJ67H4Q2wCtWN1j/PWhxFHAcXiAtpbGbKry3hGMjgUyUaSI94INbL2mQ k1JZHOE+qHuz/19Tp3AxxN62cLUTQqD7TkfM4K8NlXrGvo6xQ18Fpz6eKPaISDl+ERsm zQ/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=TN176PLvjJF0nSpMtEIYwjcbJii9Pi8z010fzWsc/60=; b=qmp4Eu6FwHq2OSOZ991bezxR6Q3+S/Khdwk2HtL5giKFtjdy9WbYxbZ6NISv5XSdbG k2E4qd7blM7UgJYCKCVruHChP/fVkhuzH4ShD8fxsCCGMH3KbR+HdEauGkFXJwTbmG0q hZ7DeqZyzqCeX+Bz9hEWuZZf6xrH42qqWZEHfAvED8GJDJaa4ESrucQIV6I28vporHUi hOojNEmfGPLQe/hjd+2cf7dJMxcROOmMg2mKJKQy8eBylEGI0sIzGjHxpgimA4L1up9p tDXvPXwzioSaU4QNdudXxp9t3SxcH+5PRomUVeqSeHVyalFs5X56UGPNj9Rq6n63FGhd b8Kw== X-Gm-Message-State: AO0yUKVEQaLdiX4x6Q9jayJgZqXb1/rbwTNnegLlBKYuzfBJuttr6ADz xShk3L7XgS66MrzhqUrDKcM= X-Google-Smtp-Source: AK7set/vioIUEgQdnlPNA7bRxAloD9WEu/M5QxMbbZIHlOYs9+i/NPVX2D7Lmax2DyrWZbiZ6Wb05w== X-Received: by 2002:a17:902:e312:b0:195:efa7:d54e with SMTP id q18-20020a170902e31200b00195efa7d54emr6247255plc.12.1675068484622; Mon, 30 Jan 2023 00:48:04 -0800 (PST) Received: from localhost.localdomain ([45.112.3.15]) by smtp.gmail.com with ESMTPSA id ix1-20020a170902f80100b00192d9258512sm7205284plb.154.2023.01.30.00.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 00:48:04 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH linux-next v5 1/4] ARM: dts: amlogic: Drop superfluous dr_mode in usb node on odroid C1 Date: Mon, 30 Jan 2023 08:47:40 +0000 Message-Id: <20230130084744.2539-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130084744.2539-1-linux.amoon@gmail.com> References: <20230130084744.2539-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_004811_031614_75AAABCB X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Drop superfluous dr_mode="host" as it is the default in meson.dtsi Fixes: 3325f3e4534c ("ARM: dts: amlogic: Used onboard usb hub reset to enable usb hub") Signed-off-by: Anand Moon --- v5: none v4: neww patch --- arch/arm/boot/dts/meson8b-odroidc1.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 941682844faf..1097b35b7a49 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -368,7 +368,6 @@ &usb1_phy { }; &usb1 { - dr_mode = "host"; #address-cells = <1>; #size-cells = <0>; status = "okay"; From patchwork Mon Jan 30 08:47:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 13120511 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 30F81C61D97 for ; Mon, 30 Jan 2023 08:51:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4qOXcmX5cDMkLmNJKxb71DsiCvknaYPU+ibffx0pDvw=; b=r6sKVnghZctrBF QjwM6dGtMbmFsBXb8EPbbtk1VbgizcGoBekQ8rG9ZS16/ttvUK8qskXdKAkRoLgpFn7doG3MIWtyU GArJD39wjMvxR/qDv+KrNO8wvtjMUeuywkoJtBGMFkwiHbKC5VZBuwDF9ZPW+ERsyidh6hcWzGflF sSX21s5IrQmsf3IBUxrYEk8qESD/HV/ufgGTSiRatKJMWdFDSQncSfkPxVgao6zsXQsdvJRAkWc5i xEsGAYm4Cvymz5gncT6oFu4diWH3bBIv3BbAzPXCGuCtgswwGx9noHLZVTxl2HXg7NkEeSlfAiQR6 tgT/1PHNeZk9DKhHFfWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPsE-002hpk-HM; Mon, 30 Jan 2023 08:50:46 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPpj-002hFe-QV; Mon, 30 Jan 2023 08:48:13 +0000 Received: by mail-pl1-x633.google.com with SMTP id m2so5855068plg.4; Mon, 30 Jan 2023 00:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=unCcttXWXEyPBVOHC739lbFOm1ITKrqNz2Z3vNi3kfs=; b=qwNhEVCCmT3XrxwFDJjMtFFSoDFcrvAYPFEqvwk5MgKlAP9PMilB2KgW1wj8Gl7d1x IzuJauKvyAmtgtOtWDqf57HjfOJSK9IqxGfD6mo9pyY2wsd0n+lcq+zOEFwRHlIgBgKO BrY4c3oYmxGbbSK4utppVDEe5NhzetNxJP0bhjqwwGV+Bfol/lWdNmRjUzBmr8YVM7jG 0niAJa6HZqhT1yV47y2nyWorFHyICis9xRCZfplEyeigo8SD92NAHLfCCNPoy/4gMPj3 iSo57wFeeqapd+97hnUpu44EYAi47GV4NofKVk+nk1Gt0DCnEjlDRImSVt4xR2CDPiwo 8i7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=unCcttXWXEyPBVOHC739lbFOm1ITKrqNz2Z3vNi3kfs=; b=r6FtOv2yWtuhsAuQVwXhO3ml2avI/JNnP6pgXmGxhRSDFowIdkouh/lIAsfyJp6Uw/ kkRuPneVkzSOKxSjgY939I2eXGRO+L5CNtcimjUxMV1NBxZScX5RY30IRBoB2BgK1HD0 1FYSxt6S5ae7eAtD+HIoUNogyqzd/6ah6ta7P8WZIHS+4Xc5Ubr+EuudAAHZBylKqUV7 w0OMidmbdHXOMRgU63+f+c8ewhRoQ0B7k64qA4PngTMEM+wJyD1KlVe6nVjXB03XMhZz Ib4jWuHhc8Ql0UzeuSRK0ftjb5zk2mOYpTrLJFHD42/jH03Pdicp8sQ8G/YTFCHThXrs gN3A== X-Gm-Message-State: AO0yUKWfPY8kpthy16MVMIYxpwmhyce5iQKCK7WiSOLVvC0Oq1zara46 DOgQLyT0+WDy1skyYUTFCPM= X-Google-Smtp-Source: AK7set+uLpUD2RiNQ13tofZZTlyItEtiLxY5qwZAWwYSGHsseTy0MdHNDrrht3UCeksMMtrpxBNBKQ== X-Received: by 2002:a17:902:e88e:b0:196:3a54:8b23 with SMTP id w14-20020a170902e88e00b001963a548b23mr18673132plg.10.1675068490816; Mon, 30 Jan 2023 00:48:10 -0800 (PST) Received: from localhost.localdomain ([45.112.3.15]) by smtp.gmail.com with ESMTPSA id ix1-20020a170902f80100b00192d9258512sm7205284plb.154.2023.01.30.00.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 00:48:10 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH linux-next v5 2/4] arm64: dts: amlogic: Drop superfluous dr_mode in usb node on odroid c2 Date: Mon, 30 Jan 2023 08:47:41 +0000 Message-Id: <20230130084744.2539-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130084744.2539-1-linux.amoon@gmail.com> References: <20230130084744.2539-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_004811_899406_1C15CF39 X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Drop superfluous dr_mode="host" as it is the default in meson-gxbb.dtsi Fixes: f24859bbec8a ("arm64: dts: amlogic: Used onboard usb hub reset on odroid c2") Signed-off-by: Anand Moon --- v5: none v4: neww patch --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 01356437a077..70b10934a811 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -399,7 +399,6 @@ &usb0 { }; &usb1 { - dr_mode = "host"; #address-cells = <1>; #size-cells = <0>; status = "okay"; From patchwork Mon Jan 30 08:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 13120512 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BB4ECC54EED for ; Mon, 30 Jan 2023 08:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7Vek4dC8d3dN6mn8T5dLgBpk4UNScLmPT3rubMPOjcU=; b=3fPnXunPn/2Xjq ETbwH2m+Ofm5prQ3Gv9lSvMsxqJ3w/0Ml2wNGWD7UvoSAdVsi4lZSwK/QA3EJf20egcDX+Sodr3id uPkmOpGPA1pGBD+6Ufcck8SdN52VzSpaMGn9L5oHokNjl79DFqgCKL+8zE8dAhjQ4dj+a7HpQQq0a gSyAQPVpL/MeiNnu4Tkt7OfIEsr+CazWdHpaTjR/CnO9CojRc82B+acdj5YHyg/lTK/L/ISLr0blC 7cUorgGgjC9ohk2CrZwyo9w046aCXgbXIvcGZCLGGsflXog/DJx1rQWltx/5+71xPjqzxlKdgBPQB ONfKdtuebMuxOazu2LMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPt4-002i49-5A; Mon, 30 Jan 2023 08:51:38 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPpq-002hGw-1r; Mon, 30 Jan 2023 08:48:19 +0000 Received: by mail-pl1-x629.google.com with SMTP id h9so2249997plf.9; Mon, 30 Jan 2023 00:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=PlNj6nV/dPZIBToTkn+V0Pg8NsW/e1iMo42iih8uevo=; b=ZL2pv4YX+WPOyt5YB+Dz1MDTtwU7sHsdyHVxJKwSD862zGTYLVGEfQpMkCiHoPNznq WpMr3wrJZ9CAve3J05cU0thOcV1ltoFlNyiR9n8KKplh2sF2yDhl1pXUrWVWuaMYEtx1 nas71Z+r0GD1vxgO5iCMteAEE1xyRuLk6J4f/dj90YR/3BWRBl6jVjgynavaRGD8u1IH cXEmFDwo4gmYcozeDHRFSTFmQEddQm2IqXog8JOwHgb04O863UEh8/Vfj/GZrWkQNeqI DLrVQPGQ9ufijjduTrDvnDR+t4UxPX64qlkcpSh6tdA5AzOlFUHdaWHQ78Gv9oKEp7If Xuyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=PlNj6nV/dPZIBToTkn+V0Pg8NsW/e1iMo42iih8uevo=; b=C8cF5uvSQM7xzwq7uFpQclFS6UtbWLcrWDq9KEL0q9QDaJK9blOSxHpzefg+WMJz3t LfTN5lzZFFFiQy6z+bKUSmt8C9cni3oKiIVPPvUvpuE61c2EwoHQdAaPwtoaDE6go0HT UzgjLQ3Oz9o/N5jEdfSN/jbcnKj8VNpC91Bp7B6vQvGxAZDZ891dg4UtK8yHJzdC4st2 xfz0ZhQx5aWD0SjFUaX74FZFmu5fBKo9N5McNPAolBEe2RA4QKndZzrZgeXh/SP8bNmN 3VUm3D27L3fW3vRGNpwQPyRKfCqx66QXYgTKxvb36R10aUJTLX/w2chU/pJEH6bYJSNe ZuLQ== X-Gm-Message-State: AO0yUKWiem4JYvdrgjtZueknaT/EOqUq/wur6nKKKo5ICrcXw0YedAS1 L04oPkTeeu2I4EI77qfMJ+g= X-Google-Smtp-Source: AK7set8sw+QVFdw1TtJpqaY5CJwLSkyx7g399inzBBxohSwD0omwPF0st0dLS/JFX6cUrHuEDXh2Fw== X-Received: by 2002:a17:903:32d2:b0:196:3ecd:c39a with SMTP id i18-20020a17090332d200b001963ecdc39amr18411085plr.43.1675068497047; Mon, 30 Jan 2023 00:48:17 -0800 (PST) Received: from localhost.localdomain ([45.112.3.15]) by smtp.gmail.com with ESMTPSA id ix1-20020a170902f80100b00192d9258512sm7205284plb.154.2023.01.30.00.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 00:48:16 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH linux-next v5 3/4] arm64: dts: meson: move usb-hub node under dwc3 node on Odroid C4 Date: Mon, 30 Jan 2023 08:47:42 +0000 Message-Id: <20230130084744.2539-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130084744.2539-1-linux.amoon@gmail.com> References: <20230130084744.2539-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_004818_116647_9E55111C X-CRM114-Status: GOOD ( 13.45 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Move the usb-hub node under dwc3 node and drop superfluous dr_mode as it is the default in meson-g12-common.dtsi. Fixes: 71593b2020b3 ("arm64: dts: amlogic: Used onboard usb hub reset on odroid c4") Signed-off-by: Anand Moon --- v5: none v4: new patch --- .../boot/dts/amlogic/meson-sm1-odroid-c4.dts | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts index d04768a66bfe..a988015dd2d5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts @@ -26,30 +26,29 @@ led-blue { sound { model = "ODROID-C4"; }; +}; +&dwc3 { /* USB hub supports both USB 2.0 and USB 3.0 root hub */ - usb-hub { - dr_mode = "host"; - #address-cells = <1>; - #size-cells = <0>; - - /* 2.0 hub on port 1 */ - hub_2_0: hub@1 { - compatible = "usb2109,2817"; - reg = <1>; - peer-hub = <&hub_3_0>; - reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; - vdd-supply = <&vcc_5v>; - }; + #address-cells = <1>; + #size-cells = <0>; + + /* 2.0 hub on port 1 */ + hub_2_0: hub@1 { + compatible = "usb2109,2817"; + reg = <1>; + peer-hub = <&hub_3_0>; + reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc_5v>; + }; - /* 3.1 hub on port 4 */ - hub_3_0: hub@2 { - compatible = "usb2109,817"; - reg = <2>; - peer-hub = <&hub_2_0>; - reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; - vdd-supply = <&vcc_5v>; - }; + /* 3.1 hub on port 4 */ + hub_3_0: hub@2 { + compatible = "usb2109,817"; + reg = <2>; + peer-hub = <&hub_2_0>; + reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc_5v>; }; }; From patchwork Mon Jan 30 08:47:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 13120513 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A97BFC54EAA for ; Mon, 30 Jan 2023 08:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9XWtbgXxeMixXxgKKY1vdJ/zxhsgILJmk1ZGDZvZYgI=; b=uiOJ3jDats7yHi y5DVupyZKtmt39i6Xn8KuIymb+Ef88XCdGzGOb0asYqM6MqdAHiphtLP4UHrnYNjA9hrclunWd6db mpnQ8EtwvN81QoCZPxW82pae75hj2Emw/wNYrZ6zincooKP3u7fuD+0w5GPFw2hQCYVLMd9eqYV3m Hg/aYeTEBChLCCGsCOdT5yTRSjhlFXiFbVT2WDotjwRHhTbN439caZA/SZo7ySUtWKVdFUTJkmdBJ PCItzunvgm7Bl2H2EhZIj0ebc47eVU7KS/LItzhlUPZNuHKpruxKT8D7cS7TxTLq9T+slpWK4ts8z DJSH7PCpZVqgMKOabujA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPtj-002iHh-Ci; Mon, 30 Jan 2023 08:52:19 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMPpv-002hHt-5H for linux-amlogic@lists.infradead.org; Mon, 30 Jan 2023 08:48:24 +0000 Received: by mail-pj1-x1033.google.com with SMTP id e10-20020a17090a630a00b0022bedd66e6dso14705026pjj.1 for ; Mon, 30 Jan 2023 00:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=0dgMsTq5Ts9YEjqdpbek5QxemQ/PfLYpnehoHOo4hN8=; b=kRlKvwqJrudORyPXxYlY6uAPXAorGilGpcQYT9VxBv+HOC0g2w6/zeryG5O0wZF8xJ 1hO/UFchFYBL4M00kX7zFg+5A4IrEt2454v2kJkfXXAvlLsiwDZRY1eBfjYdEwafGoRz 3skVunpDqqgQgy+Gh445WndXIdL7eQag6l6SfTvwTjz2+VD8zocooGY6yf3sLTDAWTSA zVxnnOycc0BZgmmJk6Rj3zT0rn/rf9C+FDI8jMzf5MuRH/BPNjmNIWSyLye0UY7cB5cC iMj6VpJQ7lO382Mr04hN2ECiwIhsjcwhao8NVosolZwUiT+0W1r5MrMeBMEcp4KLTtP/ 8GpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=0dgMsTq5Ts9YEjqdpbek5QxemQ/PfLYpnehoHOo4hN8=; b=xkutw/6oToYjHiRPgM73HB/XeRYs8xRT1Ks9m0XY9fLbjGIboGHHQ/Cak3J90GJ1w5 JbbFGOHZeMiGBYp0hSI8GlyGWKVOINbJ5NZZ38xHaUr7fdtz20+l9THuvaf1wLSTlYey DoB9573iFkGjsJqNw6rki34zpnXRSCkCfhrMYgDrH0wiMC62zGNyMobZNLzCwh38K5zt BW8VRzwrpGAhoy3thJtRToZwQXzDoVlEuxI3i6vW7jcog384H6L/uHjEM7Po2ELgHEOI x98QjJnaZGCKE1q8MyQHTf8rHhMJXlWGU9IjqI119kZeQ8dM6Ifec2lixkMsFHLmuiEN 4FgA== X-Gm-Message-State: AO0yUKX19FEl/r23lZmBhP+/kmxyCtExObyZUQgYfAj0LHBJpHhqEGKE 21Ew34g8fiZd+NdjF6t1CWWN+IsuLQ4= X-Google-Smtp-Source: AK7set8Nlmxdg0CtwUfU9uT+3YiRsDDX20CZDBHXxQPB1hfblLlao+qqh6ph4W22gi2k3hBv3FKL7w== X-Received: by 2002:a17:903:11cd:b0:196:8d33:f083 with SMTP id q13-20020a17090311cd00b001968d33f083mr1179155plh.28.1675068502630; Mon, 30 Jan 2023 00:48:22 -0800 (PST) Received: from localhost.localdomain ([45.112.3.15]) by smtp.gmail.com with ESMTPSA id ix1-20020a170902f80100b00192d9258512sm7205284plb.154.2023.01.30.00.48.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 00:48:22 -0800 (PST) From: Anand Moon To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski Cc: linux-amlogic@lists.infradead.org, Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH linux-next v5 4/4] dt-bindings: usb: vialab,vl817: Cleanup compatible, reset-gpios and required Date: Mon, 30 Jan 2023 08:47:43 +0000 Message-Id: <20230130084744.2539-5-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130084744.2539-1-linux.amoon@gmail.com> References: <20230130084744.2539-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_004823_220280_66563CC2 X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Cleanup by removing unneeded quotes from refs and add maxItems to reset-gpios and fix the required list. Fixes: 31360c28dfdd ("dt-bindings: usb: Add binding for Via lab VL817 hub controller") Signed-off-by: Anand Moon Reviewed-by: Krzysztof Kozlowski --- v5: added Rev by Krzysztof fix the subject as suggested by Krzysztof. v4: Fix the subject and patch description. --- .../devicetree/bindings/usb/vialab,vl817.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml index 5f9771e22058..23a13e1d5c7a 100644 --- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml +++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml @@ -14,29 +14,32 @@ allOf: properties: compatible: - items: - - enum: - - usb2109,2817 - - usb2109,817 + enum: + - usb2109,2817 + - usb2109,817 reg: true reset-gpios: - description: GPIO controlling the RESET# pin. + maxItems: 1 + description: + GPIO controlling the RESET# pin. vdd-supply: description: phandle to the regulator that provides power to the hub. peer-hub: - $ref: '/schemas/types.yaml#/definitions/phandle' + $ref: /schemas/types.yaml#/definitions/phandle description: phandle to the peer hub on the controller. required: - - peer-hub - compatible - reg + - reset-gpios + - vdd-supply + - peer-hub additionalProperties: false @@ -45,7 +48,6 @@ examples: #include usb { - dr_mode = "host"; #address-cells = <1>; #size-cells = <0>;