From patchwork Wed Aug 23 21:25:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 716247 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 775CEC3DA6F for ; Wed, 23 Aug 2023 21:26:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237568AbjHWV0G (ORCPT ); Wed, 23 Aug 2023 17:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238157AbjHWV0E (ORCPT ); Wed, 23 Aug 2023 17:26:04 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B94910DA for ; Wed, 23 Aug 2023 14:26:03 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3a85cc7304fso2408258b6e.1 for ; Wed, 23 Aug 2023 14:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692825962; x=1693430762; 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=k4T+nedyKV39uMXbBu+mfzPEhqpgVEZ6od6RS1A1F/g=; b=l37Mr0YCIkO+taC5fzntK1Wc2g5XkZDPIyDxCk3AGz7vUYtAsgvsIO+UCnKr20nJuT Pb4ZSk19Rs5vIPktjHBECn2uyLdppL5tp7gGJjTkhV7G9CtsYXIrqo8Ot96Vwx7WK9v5 okfYUbO5ZBsSD91WCFlNPxU+relyvaM768C/eDSlHiGj5OTasot6g8Nm5uPfKBasNpms wwTEE/eR3lBTUZoBbj89Vm6oeehK9VqLLY3+fkVT6IDTFt+x+v3Obtixj7EaixMA62Uv Y5iSkXPuIe+wVEoPnLBHe3NmMa7y8kIXexBErUl7SXd7NXHEx4DB5Vc3c/SWzU9sfcXe HlfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692825962; x=1693430762; 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=k4T+nedyKV39uMXbBu+mfzPEhqpgVEZ6od6RS1A1F/g=; b=P5DgRdciNX/Ox1tZX0sTyl6Ytd5MtLWbKUsCk1ksB2tC4mDdHRzQNIQvD27k4wm9PH /KVZiWaVAGbRL30Qb5NQCv7+WU2t/ozV/X8xFm5nVd5kZXSeR/DBBMud/4BMdtbL7T7N jXMeyZ1QiZO/DrNy7wb7Fx2Tq5LUmyvn8B9fPBmrEphbnsJjhfrQkBik3r48i1WbYb0F wbtvJgjAYud5z+AXF7v5p9QxkWht8nFJ2HOhu2q0sDsjv7gxz9TL3/wBE9SUBns+9I9r E33GR42Ahv1gZulB9i+kjRVk3W+8oI8CX/+ZFdUuQr2ztIPvZwJi/vArvNA+BwidWvnm CH7A== X-Gm-Message-State: AOJu0YxDJd3VJ3vgEBFQiqdrY2434e7PjzK5OSP+Z9rrbKld3+5XJMm3 UdqN2M1Qt1Q4fZ3B0qh7q4k= X-Google-Smtp-Source: AGHT+IGZVd1pnjk28+Kjchg1BoTxizV6CJnH3+9xSigjOHPE8gFkfFvb0aiotjWzodLt4nP+ktkqZQ== X-Received: by 2002:a05:6808:138b:b0:3a8:5133:483b with SMTP id c11-20020a056808138b00b003a85133483bmr15513983oiw.31.1692825962541; Wed, 23 Aug 2023 14:26:02 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id d26-20020a05680808fa00b003a1d29f0549sm771127oic.15.2023.08.23.14.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 14:26:02 -0700 (PDT) From: Chris Morgan To: linux-sunxi@lists.linux.dev Cc: devicetree@vger.kernel.org, mripard@kernel.org, jagan@edgeble.ai, heiko@sntech.de, uwu@icenowy.me, andre.przywara@arm.com, daniel@ffwll.ch, airlied@gmail.com, sam@ravnborg.org, neil.armstrong@linaro.org, noralf@tronnes.org, samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH V3 1/8] dt-bindings: vendor-prefixes: document Saef Technology Date: Wed, 23 Aug 2023 16:25:47 -0500 Message-Id: <20230823212554.378403-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823212554.378403-1-macroalpha82@gmail.com> References: <20230823212554.378403-1-macroalpha82@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chris Morgan Document Saef Technology (https://www.saefdisplay.com/). Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index af60bf1a6664..dda90f9d264b 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1151,6 +1151,8 @@ patternProperties: description: Shenzhen Roofull Technology Co, Ltd "^roseapplepi,.*": description: RoseapplePi.org + "^saef,.*": + description: Saef Technology Limited "^samsung,.*": description: Samsung Semiconductor "^samtec,.*": From patchwork Wed Aug 23 21:25:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 716244 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 98E4CC7EE43 for ; Wed, 23 Aug 2023 21:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237808AbjHWV0l (ORCPT ); Wed, 23 Aug 2023 17:26:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237586AbjHWV0G (ORCPT ); Wed, 23 Aug 2023 17:26:06 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C994DCEE for ; Wed, 23 Aug 2023 14:26:04 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3a7d7df4e67so4164204b6e.1 for ; Wed, 23 Aug 2023 14:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692825964; x=1693430764; 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=sZxJ1X5IcmMP5uOQq7URUpycqeONLS78Y9FFjRdR0eo=; b=GZ+HvLjXK7DanLsla8bkLp/K/qJMMAIQBhCE3ZKCnVMoo1wLY58bJM15JElW+JSyXl ntRvdlEqTyfJQwXyGTN4DWpsccf3SoaU5NwYd9wnF0vsmEI0CBNYO268Q93AOhcJhj/Y mcFGM9Om+WdmW2P3RviaeN1mWR0Sh0nAfECH/0ODtIwYslrVl5eaBAaBZsDGhq8aqgk9 L/VsUQpTpgjpPHvo0dtOjKMBIIKX9613kiuGZ0SIfePVchpU/lix/y+iW9lmvHXzrtpr S/dp0B0R248cWxN7I7PnGOp8atOpCaBU0E+GUtlXARozIPfrQDwEsiYOsO2MSfCT1NUu VD1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692825964; x=1693430764; 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=sZxJ1X5IcmMP5uOQq7URUpycqeONLS78Y9FFjRdR0eo=; b=DNa8LFcVQ7mHPSWbWQdn7SUIR0gEGY7s3U9jxwJcFjmaiAJeL4iM+9S+jSkVkOSKMc dauuL4nElvntJzfyl0KLU6aenaRfNS4MwMi6C2Nuj7BC02nfjJTqENxmqwzAbUsthUUm yvYWPp9baeIre1rMcRMwKFrFPpJoj2e3S6SQmax0O45gLJNQDmCRsExPU38HKnI0Dz/P vm0v2ZhBgret1y9v/tmXOCdIYmnyikGN7PIAwjDR+TN9Ux64EizL6fKHbeZldZ6RNmHn ZNv2x0KCe9VEBT2nrGSVLDvKFEzZH29G7RZSFDQ5WmuyfUGRfkGfz+sUApDZieWg80Nf pvvA== X-Gm-Message-State: AOJu0YzsikoST6lVdyZM7BVjk5QRRAUdIIkB4YgHRnKRY/TRN9bCl5Jn mShYLtgowFs4wgGX8a1oBdc= X-Google-Smtp-Source: AGHT+IGttHzA9ZAubh4JXxNS/58jl4cMgwK4kWOq/HDtZ6E0volg9jJkPSkgcbqopg8EWr/nfDCcCg== X-Received: by 2002:a05:6808:148e:b0:3a7:53a8:aed2 with SMTP id e14-20020a056808148e00b003a753a8aed2mr18448110oiw.7.1692825964002; Wed, 23 Aug 2023 14:26:04 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id d26-20020a05680808fa00b003a1d29f0549sm771127oic.15.2023.08.23.14.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 14:26:03 -0700 (PDT) From: Chris Morgan To: linux-sunxi@lists.linux.dev Cc: devicetree@vger.kernel.org, mripard@kernel.org, jagan@edgeble.ai, heiko@sntech.de, uwu@icenowy.me, andre.przywara@arm.com, daniel@ffwll.ch, airlied@gmail.com, sam@ravnborg.org, neil.armstrong@linaro.org, noralf@tronnes.org, samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH V3 3/8] arm: dts: sun8i: V3s: Add pinctrl for pwm Date: Wed, 23 Aug 2023 16:25:49 -0500 Message-Id: <20230823212554.378403-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823212554.378403-1-macroalpha82@gmail.com> References: <20230823212554.378403-1-macroalpha82@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chris Morgan Add pinctrl nodes for pwm0 and pwm1. Signed-off-by: Chris Morgan --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi index 3b9a282c2746..c87476ea31e2 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -414,6 +414,18 @@ mmc1_pins: mmc1-pins { bias-pull-up; }; + /omit-if-no-ref/ + pwm0_pin: pwm0-pin { + pins = "PB4"; + function = "pwm0"; + }; + + /omit-if-no-ref/ + pwm1_pin: pwm1-pin { + pins = "PB5"; + function = "pwm1"; + }; + spi0_pins: spi0-pins { pins = "PC0", "PC1", "PC2", "PC3"; function = "spi0"; From patchwork Wed Aug 23 21:25:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 716246 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 33D96C27C40 for ; Wed, 23 Aug 2023 21:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237598AbjHWV0k (ORCPT ); Wed, 23 Aug 2023 17:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237628AbjHWV0H (ORCPT ); Wed, 23 Aug 2023 17:26:07 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5423D10DA for ; Wed, 23 Aug 2023 14:26:06 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3a7ca8720a0so4256789b6e.2 for ; Wed, 23 Aug 2023 14:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692825965; x=1693430765; 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=aeVSLNMf/yjn1QpYEyiG1HeRadwh8kE5+d8OkagsrvY=; b=WXo8x4U5ER6Kjyew/WYIQxOhXSSiFUyV8RBwa7Uf0HDK0bikkSJ87Fr9k7BCtD6eHq VOBcmQgsfWOHJDKBK1ESNZh2S93vK+sBctGEcDhc5fz/2zKnd0+7dsScIewAMioYCkbw NoQZ72gC2OZzfuzyhTjTmFufoQPTIXl2uf9WxU9zChESmU4do4O/lFokd+YuDXOdfoV1 s9qT00hTfVPcf29T0eo06yWEtkU3VtF9Y87Gvhzk3pCEq8QQspsqrV/5esH9yVUk/Soq Y4O8FAh53NBN5BWtCjjMohSbnnRM7iNFni4T6uB6k1u/86pZUjeRcbrA/rv2jqBylqsB UsGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692825965; x=1693430765; 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=aeVSLNMf/yjn1QpYEyiG1HeRadwh8kE5+d8OkagsrvY=; b=hEuLDCSHCqZKznW+baQs6oVsrksQe1Kim626MHVdiLCrOsObYYH2jqwtcw8DeclxLO QRHzaaVN0uVoHICdfKQGsv4tnFblgbcfIqlRPz/xpyhL07h4d1KycsLhlSZPypxsmS+e ihFfCUZzuYQ+8YWOYw1Rt0FmBK2dnpprNFqZHeumKT1s1GxLLmivdeMpVUJKj+6nGdhz tssQtVlnLDI7oVEWeBhKqI9JqD3ylBd7/O8iS1W9PBdWFcEAPLSsKlB2O8rCVZGJao2T YMhAXOzTO8acm8XrFUJz1PbzMbNAIjwNlt33fmzKAyuq6EW0mTiR6UIBtkKD6l4IZ2pp paoA== X-Gm-Message-State: AOJu0Yw4URh2UBt9X76EgVAL7SLZlO18kAICF3FOL8uIpP+hgtP3B7H8 6sG8yX76zShnTuqGqrmmfcM= X-Google-Smtp-Source: AGHT+IHaIgPAw3tyTO34bsPrnW4YbtdktYnJE4XGrQsA49ecHyVYN6oLDAXH4ZLB9mHV+kHxlcrCTA== X-Received: by 2002:a54:4808:0:b0:3a8:5ca2:2e1e with SMTP id j8-20020a544808000000b003a85ca22e1emr9268112oij.9.1692825965607; Wed, 23 Aug 2023 14:26:05 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id d26-20020a05680808fa00b003a1d29f0549sm771127oic.15.2023.08.23.14.26.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 14:26:05 -0700 (PDT) From: Chris Morgan To: linux-sunxi@lists.linux.dev Cc: devicetree@vger.kernel.org, mripard@kernel.org, jagan@edgeble.ai, heiko@sntech.de, uwu@icenowy.me, andre.przywara@arm.com, daniel@ffwll.ch, airlied@gmail.com, sam@ravnborg.org, neil.armstrong@linaro.org, noralf@tronnes.org, samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH V3 5/8] dt-bindings: usb: Add V3s compatible string for OHCI Date: Wed, 23 Aug 2023 16:25:51 -0500 Message-Id: <20230823212554.378403-6-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823212554.378403-1-macroalpha82@gmail.com> References: <20230823212554.378403-1-macroalpha82@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chris Morgan The Allwinner V3s uses a generic EHCI and OHCI for USB host communication and the MUSB controller for OTG mode. Add compatible strings for the EHCI node. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/usb/generic-ohci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index be268e23ca79..b9576015736b 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -25,6 +25,7 @@ properties: - allwinner,sun8i-a83t-ohci - allwinner,sun8i-h3-ohci - allwinner,sun8i-r40-ohci + - allwinner,sun8i-v3s-ohci - allwinner,sun9i-a80-ohci - allwinner,sun20i-d1-ohci - brcm,bcm3384-ohci From patchwork Wed Aug 23 21:25:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 716245 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 73BD2C71153 for ; Wed, 23 Aug 2023 21:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237679AbjHWV0j (ORCPT ); Wed, 23 Aug 2023 17:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237659AbjHWV0I (ORCPT ); Wed, 23 Aug 2023 17:26:08 -0400 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AD5010DB for ; Wed, 23 Aug 2023 14:26:07 -0700 (PDT) Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-570e63f5224so158002eaf.0 for ; Wed, 23 Aug 2023 14:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692825966; x=1693430766; 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=LUbFm+fOmzrazp9sKgGhqqbV60lKK8Psc75Jfutf4LY=; b=Hb/j/w9DqSkKcyLd9rKgOvHuEs2VTClPtpSA3sdjYKd3es6CSjdm8MGQDYwd2HQQGV mkvPYdUAyX0vYFn+zjbu+e6fLyIU3nI++ryzDjPDqGV9spoCVLZ4dBdnu9++nfCJIOSj rBX9tyqTz55UK9UFRqghGhZ1tY+3DwMJ1K249ijppg/DVGqgnRKk8llKkxdIp6/7TXEK TOTrjA/w7g9PjTmK2cLtm/03t/DJfR2Umq6e8AEIf9BICobuguWYbL2IemfpVbfe3phc ATU1yzR8XXmoV+huT1YrbSZi3Fv8ydr5OsKZroOETZ/96Y/QIq/Rvbk+/3TE82Af+7a5 LrSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692825966; x=1693430766; 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=LUbFm+fOmzrazp9sKgGhqqbV60lKK8Psc75Jfutf4LY=; b=D7QxnmdviolMRyi9YeazU4QocP4vtODZY3bAMB9z05Y7rdvsE/2hQYyWFigz4LA/VD 4dlNJOUIkTUiEDhZlJnXgO8WHZJOBxap9sWm3r+1Dy0QhA7yBWK9NQWk9YFni93T2bHg 7b6zA8UEMeKxK4PZw4BEXvzADV274Em5oOXEDve3kpAWtAZjGuyiST2b1K6teAzbhsk/ /HU10bmnQaI58CN9lyC1APghoUJjCKyupkUXq2gvEiAMoR5gldcGkxsiVUtR7Sl6IciZ Yez/NyoIykz/yDIptk0sm/xYkMj+8hGTu1xipAZuf55X/RekeOTy5OlygnSwiStT9oGR 8hkw== X-Gm-Message-State: AOJu0YzLPuqRS7bPDZLDSEVG2hfKWylkFeL11xAnFpozksqDPBfkFaA/ JwP2x2AsxlXgs58Wcoq6B7A= X-Google-Smtp-Source: AGHT+IHVRJKoTFQ8uIPo98eSBe+TlfALpm8H98CvemrVDCQWd4sAnPjYgvc1qscn7NGAuINEQEsBPA== X-Received: by 2002:a05:6808:1882:b0:3a7:46c4:e8cd with SMTP id bi2-20020a056808188200b003a746c4e8cdmr9304735oib.12.1692825966291; Wed, 23 Aug 2023 14:26:06 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id d26-20020a05680808fa00b003a1d29f0549sm771127oic.15.2023.08.23.14.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 14:26:06 -0700 (PDT) From: Chris Morgan To: linux-sunxi@lists.linux.dev Cc: devicetree@vger.kernel.org, mripard@kernel.org, jagan@edgeble.ai, heiko@sntech.de, uwu@icenowy.me, andre.przywara@arm.com, daniel@ffwll.ch, airlied@gmail.com, sam@ravnborg.org, neil.armstrong@linaro.org, noralf@tronnes.org, samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH V3 6/8] ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts Date: Wed, 23 Aug 2023 16:25:52 -0500 Message-Id: <20230823212554.378403-7-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823212554.378403-1-macroalpha82@gmail.com> References: <20230823212554.378403-1-macroalpha82@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chris Morgan Add the EHCI and OHCI controller to the Allwinner v3s to support using USB in host mode. Signed-off-by: Chris Morgan --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi index c87476ea31e2..eb63dd274305 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -319,6 +319,25 @@ usbphy: phy@1c19400 { #phy-cells = <1>; }; + ehci: usb@1c1a000 { + compatible = "allwinner,sun8i-v3s-ehci", "generic-ehci"; + reg = <0x01c1a000 0x100>; + interrupts = ; + clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>; + resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>; + status = "disabled"; + }; + + ohci: usb@1c1a400 { + compatible = "allwinner,sun8i-v3s-ohci", "generic-ohci"; + reg = <0x01c1a400 0x100>; + interrupts = ; + clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>, + <&ccu CLK_USB_OHCI0>; + resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>; + status = "disabled"; + }; + ccu: clock@1c20000 { compatible = "allwinner,sun8i-v3s-ccu"; reg = <0x01c20000 0x400>;