From patchwork Thu Feb 23 16:35:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2730 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3C3783F25C for ; Thu, 23 Feb 2023 17:36:14 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id d18-20020a63f252000000b00502f11fb2fcsf1210958pgk.6 for ; Thu, 23 Feb 2023 08:36:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677170173; cv=pass; d=google.com; s=arc-20160816; b=dgBeBO+8EEzraKafJ+GKEmAGvQKyJSQrXr/FOuB4R7Y66qMoPDZjUkBRVh4N2lxIPV DIRDzWvH+wvgOPMjuhCkvttotNawRpipgGtGDIMilvwVzskAz4slSLLXau0fR/IA7NxB fbA4gmW/MGkiBhnkLHCUn0ycEQqE5yJKkouGSo8d0PuRg+98LX2t+67FpRTpbcGyj9dQ SFAfotuDtsqSAsRdF0lc/aCUK/lGzPyRHmrP6x3qdhGvS1bjFAqdJPL30GmalIqsAJZQ gFAaA06KNPNHhl6lXb587MnmzjCNWxGFZDl+Jm7CJKNAXhgiWcvnOXJHNVZZruFwqpKt q25Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=JQ8qpav2pjUgTH/GXBFvqGMKNcB+UQChP1FOefVgfks=; b=EYp5MQ0uvNWe4BZ3mYxLnnHJNXp+GUYV7kJ+O3+soc1tZ1HzutSPhp2FnY9/eplcD8 kS2/orimuOzwWLt5yKH87Xgyt+0y1ply+YvM1Z0wsw6LK+UtyCg4sBW7a9RDMLRm0kvb TuedJe7kqn/5f1K8umoWVJ8edId8rCSQ1FCw1sQxVzPJcJHq5ZZR0HmmrhQjrrjUvD+B a+Mpu1ajDS2qK1JvBPvcP52Zkw6Urp7VASlhE7bhr3gDxE5dpX2TZOQGjIHVQMj991J+ wLKQYPoyIzGlhkBJtV5RAbqANqSpRhtyOTULPvYWUmaHSRU5UwjyZOKqOyGaxVboTRQm 0PlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="kqVm9NE/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=JQ8qpav2pjUgTH/GXBFvqGMKNcB+UQChP1FOefVgfks=; b=FT74a9zqRp9qXXzu5X8bvUJHizQQr/aYyjNo7SluRHgoaaH2LuXUITVaGg8mH9QF92 puOHj/iIdrmTdJIoaU+Swp0Ow8WPQIzM9OVIDPQbrnuVET+ImbR/nkyZSnwEmYdrnEXJ 7dkJUB9THdzH0NZCeeTRQZvuxt/xYgvOmBR+k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=JQ8qpav2pjUgTH/GXBFvqGMKNcB+UQChP1FOefVgfks=; b=2NTFVfNikJRKMyjPYfEkx3tNiZL7aVfmZntxfBos1SE81iPH3TxHbQa0eVaCahybAt IFjJYiz83NTrbugp5gUpBKqdzVJvAuecyKQ5Fl05fWozyW7kwSHQl/CtMl3QT1x9tsia xnFDTvr+2efCCHOPJ3LjswJIDklCIDygJO5YppEPKYvZ0gCl3TMEmcKgu61DtAPKegNS 3O+eHFV1BoiE2WSObUsus9Z8w/xDjK+8gZsfqqRlQE81Wuy635ljVCA0inUgXP/vlq1V af+ttCiZXhnlMUk7rlGyn/dhbPFipB7SDblB4MN6cyJXzhtC3vK+yraOxyStNAsP7kDC d3BQ== X-Gm-Message-State: AO0yUKWRk6Xpaw440RX9rP60d8zCH6O+PQbfTJD/SeCEGmUYyP2F2KAr l//1ogZQO6YWBcwVxOHXFRDiXX11 X-Google-Smtp-Source: AK7set+3wLpcYyOStFYZBwn6cpzSWX8kZ2wbPeK2r5NGiGk5+5KsEsY8X3YVcL0a4bw4hJRKPdD5TQ== X-Received: by 2002:a17:90b:2643:b0:237:47b0:6c4f with SMTP id pa3-20020a17090b264300b0023747b06c4fmr1514463pjb.87.1677170172949; Thu, 23 Feb 2023 08:36:12 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d50d:b0:199:50f5:6729 with SMTP id b13-20020a170902d50d00b0019950f56729ls6390plg.11.-pod-prod-gmail; Thu, 23 Feb 2023 08:36:12 -0800 (PST) X-Received: by 2002:a17:902:f685:b0:19a:d7b0:5472 with SMTP id l5-20020a170902f68500b0019ad7b05472mr13519544plg.5.1677170171961; Thu, 23 Feb 2023 08:36:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677170171; cv=none; d=google.com; s=arc-20160816; b=KdIEPfSqYkFYJ2o4HqpKF18xSpfM92C6iaemTcEa+HCItVRrz59ZLdUgmyevWMRa1c GydHzWCchs2gJeio5CG2oJDHA5VVfLIIJDMWXakn48dxE4IFFvTCfvBGOrHXNFe1/yRz hQr7dPxzMQKQnWxXJ1ZHWlUmz88DPC5hwVBdNTstR9s9CPvhpWAfVI7I0UUX8ia5L3O3 1iP8yxdk+7Kh+hgdt4okVtNi9a6gKqrYuOa1gC/jq1q3G1VeYhWG7+4h3bqWbtoq8D3O +6Ne+MICmDHrdGJy2UjcGZOA5N/bsrzLPARy30NUexkpza5llIkETKGlPqGBTp1KQ9w7 umdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6tTWMID+Jt4OvZmWVj5vL7hRpcy7IaHbsEgmawVSya0=; b=BrcG4cMzuxhUL2W6zTvv4o3Pvsl4pdd/ajfRjTrAvYMbXhE1eRQk/xuoY4c/hCDutq UwEqsU3/6y3bQwpmBLLB+iOYo+Y1jp2piSuaFdDgbT3My/HAz8TQD4McUvp2WzbWQRtM xr8ERpcn7M0PUdnMSbPyf6j4A7eFH/VgeKAkSZeJsS6kuTtxIdifrK8XJWxFdWaLNDK/ bB4LsqsRi7dJGD+GGkfOptAsiDImMfZG9nh6Y9pSaynP8Yho1+wqU0sBCUYJYklfWQaB d7RvIabhwcrY+7+eUs9zqzDE8fqvq+a54+Rw/IMJjoNOynLKPotb8pDUACpIIjHfveE2 Io6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="kqVm9NE/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id c16-20020a170903235000b00199563fff15sor5827009plh.150.2023.02.23.08.36.11 for (Google Transport Security); Thu, 23 Feb 2023 08:36:11 -0800 (PST) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:903:2344:b0:19a:9859:be26 with SMTP id c4-20020a170903234400b0019a9859be26mr14007796plh.22.1677170171609; Thu, 23 Feb 2023 08:36:11 -0800 (PST) Received: from localhost.localdomain ([2409:4070:4895:2597:f346:e6de:b0d0:cfd2]) by smtp.gmail.com with ESMTPSA id jf19-20020a170903269300b0019b0937003esm4379366plb.150.2023.02.23.08.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 08:36:11 -0800 (PST) From: Manoj Sai To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Manoj Sai Subject: [PATCH 1/3] arm: dts: rockchip: rk3566: Enable USB OTG for Radxa CM3 Date: Thu, 23 Feb 2023 22:05:51 +0530 Message-Id: <20230223163553.647775-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="kqVm9NE/"; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable USB OTG support for Radxa Compute Module 3 IO Board Signed-off-by: Manoj Sai --- Note: Above changeset has sent to kernel mailing list, which is currently under review. https://lore.kernel.org/linux-arm-kernel/20230223135929.630787-1-abbaraju.manojsai@amarulasolutions.com/T/#u --- arch/arm/dts/rk3566-radxa-cm3-io.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3566-radxa-cm3-io.dts b/arch/arm/dts/rk3566-radxa-cm3-io.dts index d89d5263cb..5e4236af4f 100644 --- a/arch/arm/dts/rk3566-radxa-cm3-io.dts +++ b/arch/arm/dts/rk3566-radxa-cm3-io.dts @@ -254,6 +254,14 @@ status = "okay"; }; +&usb2phy0_otg { + status = "okay"; +}; + +&usb_host0_xhci { + status = "okay"; +}; + &vop { assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; From patchwork Thu Feb 23 16:35:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2731 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 379643F25C for ; Thu, 23 Feb 2023 17:36:20 +0100 (CET) Received: by mail-pl1-f197.google.com with SMTP id iw4-20020a170903044400b0019ccafc1fbesf312027plb.3 for ; Thu, 23 Feb 2023 08:36:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677170179; cv=pass; d=google.com; s=arc-20160816; b=TPjUNOX1RrNlzpirVJuM/elHn3UB+1pABaNLquxbbbsFUadT8JZ+AIFq4MlfqhpAzg OdcLr71D8DdvjcLe7wdjR64altN5ooOrre/+CTHpY9ND8US/1SJ5nRVsIYVAIjZJcyNA HM++Eg1j1nce1aHz9dQdUoj+bhTPx4X1msn0j5bq/TYj5RpCAJU8RG8lVr6NuPMDSXVY MRcOmBYkamhFZHlUEAOKL0RKsV9IqEn+EhW7/yWng3iXrw4d8oyhrRyJPl3P+qOXCNLk t9Kmh0Bkaq8OWvX8XeCRWl/vQhc2W6YYtcs2p5fvuTkjc3P5Jaz1T7BWre+i2d93zkIk BwGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=tDWdpgvh3uY0PMu+8QXmNAwnIM04jk/aLJsEadqDDgM=; b=Ey84EWLSu0YFANpTqjORnX4Sjg6h+TLzLcojJz9FM+XH7IT4j9Hjm3ZCZ1CC0Pw6io x+CmaRxJgpMmkKcBIJnqGmk9omU5eoQYlkyKIbsuzeExCV034GG6L6qWooYlAqLlG6Em fiOsI5mJZ7IzWIErIwyM9cj3RUhNqBN7yP+nPqcOoHkQ5JbNUsHnAzuwUfDTmfvmz6y8 Mxw97GZUPP9DaLDuCF5cDTdE4AVk+SNHqleyCB+OPA5tGbIN2XTdtVi77UEoAcIImfME enaIo4qd46tjxbpqu/DkhCNUnz8Ep9sfVXaEB2jODRbzJv5uuPanrkXHsQXNxVWNofSv U2SA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AjAG8PH+; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=tDWdpgvh3uY0PMu+8QXmNAwnIM04jk/aLJsEadqDDgM=; b=J/NNLqxMj9o1LcOacyxzmkujsqmTGY5TR3gfrTxqzKXpODE7NQecthEH/cPCL4xHz+ cEjdBzTmJp/X87BMuO0uwDAXrieOBFU1upuwMH8AxeU1gf9k49lWjLB9Mdc9OFB9DIfH tT0qfm47aJfLX9g1m1DXz0T6rrln9dM3E4ohk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=tDWdpgvh3uY0PMu+8QXmNAwnIM04jk/aLJsEadqDDgM=; b=DZj2GaBETnMfAXjYFsE9z7Xiz6RGSMLSp7ddoy8GAHuT+s77L+iknI0n+DHtKQS04N eyBq4PqOwull80GchN0py7AtwelFUHRqNJyadMgS3AAcVEntYhxUB2lupc0127fO0FDW 90nYpgp2Ji/5HEZK6t+3pQGQZJnEAe7fsNuVdG+h/Ghcc5yuGZOS0bn3s+Q4Bjz6daMH 8vTq62TrTQGq/lWSuPJwkcC8pTeBtvIdG2nrkf1Bryq18TnWK4wM1PVLkQ/dytUw3r83 wiGtW8jhKPp9Ru3PwGQON7x0IC0YbB8BK6nDadWaaL5G2L9DtS0TvihcsM6dasZnnmXX E0ZQ== X-Gm-Message-State: AO0yUKVpLkGzYB3sEw9eduVuVsgMdZkXM3gNlDD2yvmUMvS3cOGyTyVS dJmKi9VaDnyFIQj3mwXqdqtB8lks8cyPDQ== X-Google-Smtp-Source: AK7set+LtMkI5tCHOeprEpC9kCL910YF5SOakwNwi0tIAwEcceiTASC56PlfZgWOpkgByeshiHpm6g== X-Received: by 2002:a63:7056:0:b0:502:e4df:5f3f with SMTP id a22-20020a637056000000b00502e4df5f3fmr1121046pgn.6.1677170178883; Thu, 23 Feb 2023 08:36:18 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:5d82:b0:234:2ef4:2e9 with SMTP id t2-20020a17090a5d8200b002342ef402e9ls106953pji.0.-pod-control-gmail; Thu, 23 Feb 2023 08:36:18 -0800 (PST) X-Received: by 2002:a17:90a:1e:b0:236:70e6:ef08 with SMTP id 30-20020a17090a001e00b0023670e6ef08mr11547821pja.49.1677170177958; Thu, 23 Feb 2023 08:36:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677170177; cv=none; d=google.com; s=arc-20160816; b=D/YOehIJRCFR31B6ybYuCPtHlc9CZBpRUIaZOud2Hmw4Rt7PEQVVZ+nmUX/k5KCvxA AiE7MAYoP8ihadLat775KYxD3kaJiS+e1zlhOoNdwdgJ3WPGql1s2KGV5YeABlQWTKiL /NVMh7kzrjr4pE5a4sEHuYnkEUcO75PbVXilP7LK74U5Mc/Or4bS8O6Z1mfXqRyCvn4V fQyk1eDdgRFFqEcXgpInrM50PwV/DPNO56PDvayclESScr54rYRRTqRq95QrfAtQsbsH xPQ7mOgvLeilQfBOvJY4azLLEQE72rc8RKitwsLHlXlUDTXNWVhhClDeNjDBITYORB8J 5LYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=FZzM+sDdAbPFleKvxEEx3f9KxaXSzaCSvxz7fqihY38=; b=FJwtCv/4WXOK5ENj8w0Fx9X2m/GQjDbHbqc5+COT03/+ZzFt15qBKBb+2g/lMjniP/ z0bvaz+ZpkzBOBoevkJPULB8txFn6ouJZSmseSR1A9DHXFLrzsiiHPwH+ND3sDeQUmkW BbPHV2dvQJfP8Tq6JslxlsDZ4s2oDJYBQOpuh27PgVmP1A3TTSTkiNYGJplcbvWdSW9a Lu7vjtuSLFAJ9Txbee1fZNIb6gRggp9H0sJzFgqAxFaWoh9K9ORjPQUUHz4P7j53Iu0h Kv75u6UB8uIqg4OSQSn2S4I6mAHKwnpppAj9yn2FgCUhVY364S0kdETcPUEA3Qqljjvq WgXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AjAG8PH+; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id jh19-20020a170903329300b0019c2d2ec2d3sor1822524plb.115.2023.02.23.08.36.17 for (Google Transport Security); Thu, 23 Feb 2023 08:36:17 -0800 (PST) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:e886:b0:199:15bb:8316 with SMTP id w6-20020a170902e88600b0019915bb8316mr16510049plg.68.1677170177663; Thu, 23 Feb 2023 08:36:17 -0800 (PST) Received: from localhost.localdomain ([2409:4070:4895:2597:f346:e6de:b0d0:cfd2]) by smtp.gmail.com with ESMTPSA id jf19-20020a170903269300b0019b0937003esm4379366plb.150.2023.02.23.08.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 08:36:17 -0800 (PST) From: Manoj Sai To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Manoj Sai Subject: [PATCH 2/3] rockchip: rk356x: update the dwc3_device register offset Date: Thu, 23 Feb 2023 22:05:52 +0530 Message-Id: <20230223163553.647775-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AjAG8PH+; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , update the dwc3_device register offset in board_usb_init() for rk3568 platforms. Signed-off-by: Manoj Sai Reviewed-by: Jagan Teki --- arch/arm/mach-rockchip/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index f1f70c81d0..c7729c966a 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -300,6 +300,9 @@ int usb_gadget_handle_interrupts(int index) int board_usb_init(int index, enum usb_init_type init) { + if (IS_ENABLED(CONFIG_ROCKCHIP_RK3568)) + dwc3_device_data.base = 0xfcc00000; + return dwc3_uboot_init(&dwc3_device_data); } #endif /* CONFIG_USB_DWC3_GADGET */ From patchwork Thu Feb 23 16:35:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2732 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 102B83F25C for ; Thu, 23 Feb 2023 17:36:27 +0100 (CET) Received: by mail-pg1-f200.google.com with SMTP id s3-20020a632c03000000b0050300a8089asf288170pgs.0 for ; Thu, 23 Feb 2023 08:36:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677170185; cv=pass; d=google.com; s=arc-20160816; b=hcmsNRHXlR6mQfJpcSB7QkRxmtk1Lcnf7ioWfDqd+zxE2GwFHR5Qs6vtVWLbtB0vg9 xKmeuxrRPmDCBMkf7kyqtRxxtlT2bSnh37ia/6rixtirJ1nxSVvnHlrcxW/Zu4gG1JKA xl8xgFjH8+ytNPkh/v53o6K6MF5E52G1txbdoDla2SPIYYA7ZpfqV1lHAGEv7A3GsuEr 25PwYQiQvXFB7mucj1AufVqSkGcS80JNVsvpnKqqWhGtrDH3xQDId8L7BUYa7lLf8wHw 4greNcsg6C7LC1dui1cXU61BN2YxpjFcnaCuYyzFVRtZnz4oOXZ7Bv90PIUp4KepWPtf Nj7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CBLLqQdlUAWax++sWr49h/Z/RKuA79g2lEhqm5+TCXQ=; b=D25BXC3+QYu6J1GxlQ8qEVFcyr5RbZlPesS+AAd5qCP0r72LCig9FR0CHXluFhF5D6 QZ0ZJFRGR4+oKwadUoOE9X0ry4S8Ac+PYtsxIOusEEhA5hQPeqMJkTQhRnhjEEjjXkX+ uCTGhKRtXWRgngI+WGkCkb5y6Ehk+hZykh8rXa7BFM18P6M0GnIj6fUL7PUNaBPyjGM/ 8rR3431imU41rn4+SHEJ4IVHL7X8s2M6N1KBYTKAbht7UHx9NbZaWfD4DkNFZXABuGsD CGbOBd43AJjSVsDre/4hoGKJhfkTdmaLoyNtY0FQU1ZA8VYAzDyyiFzBgsbtgG/BlT63 eolg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KnRAkzPX; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CBLLqQdlUAWax++sWr49h/Z/RKuA79g2lEhqm5+TCXQ=; b=PRKNOwIFOxIG9ol9cbfds2Ba1No86CiHH+4tjJT5Nbrwa2zT9IQ1le989DEjxmHi5l pP03f1vyBQkLxVLvVMJJv9yJNPDDZpsLkCavWBqe7KZt9J2E6VlYn8bwj3NJKuDwKw5b SryL4dXlzVs5c+Uj0zUH2P63cqNs3EoqSQxy4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=CBLLqQdlUAWax++sWr49h/Z/RKuA79g2lEhqm5+TCXQ=; b=hs2b5IhtyA3LtE+QdUvBzjvPjaur3Jmah34kymY1rfuyqSHuKMiBhspshCX34TI3Qe l4pVC6CCWS/2E2j2A37u/PLfKiTTUkEoRLUXYWl8l/5JAZdUXFvi0uGiPoOPZqgHliE0 SlnbejhF6pFa7J8xD/UvovtBj29NQA0CaeqVeGc4N2/AmyEhiWYYgiqIg3NpLIFPJElW dSpCCRDgF24Il/mMkmcnmrhY/W4PtSngr39IbDN6sdmBNZaejr+WLGYVRqDJyi94GjyP WckoUmer/dXfdigdXxgBkFNC6IstTlR8hPOpiVU18p+Wi0p3ljMvQDc0YCaPDHLC8WEg Gf1Q== X-Gm-Message-State: AO0yUKXhWfWD3eQHpws/p83NHM3gS66JzuwsBBC8rnnrKYtH6waIU5dv TAX5qRVXjVce22i84KAhQoOB5mUS X-Google-Smtp-Source: AK7set98gueFRLoar8gefmWWoYHkrZFzzm/dF0GwZsE8YmSkGmxnmaXqw69OE6CAg7h/OUVVKqH4VA== X-Received: by 2002:a17:90b:38cc:b0:237:6adb:4c3c with SMTP id nn12-20020a17090b38cc00b002376adb4c3cmr653773pjb.133.1677170185675; Thu, 23 Feb 2023 08:36:25 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:f595:b0:234:a618:558a with SMTP id ct21-20020a17090af59500b00234a618558als69313pjb.1.-pod-control-gmail; Thu, 23 Feb 2023 08:36:25 -0800 (PST) X-Received: by 2002:a17:903:1ce:b0:19a:c65d:f97 with SMTP id e14-20020a17090301ce00b0019ac65d0f97mr19746180plh.41.1677170184761; Thu, 23 Feb 2023 08:36:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677170184; cv=none; d=google.com; s=arc-20160816; b=AwVL8N3smKXhqaIqnNGnIdjHiFHTzwzHk/OJl148HD9VbQkPpXVuyFVwTFHH1/KVQJ Xdsbsh7quiK0K8p+c2rVARmuwy3krgKcnvPnYzvYQny7nXHlZld42gylPOW1XhY8HBTq 7YcOAjLwqMeGjnHkWqOXTxvwb+gtauyIVDJF3Arfp1+5IiHCURet6laKXRpS5w8isc3o yBcj96B4wSTn2m3I6CjcMIg/YY9yTIFTo2ifuDEkHIoAyymURQ1HmeCZSN//ZUwc3mS+ hzutGJEBOk2zcvCKGHvjTrM3UzApqr0+qDpLf22tyTPgqJ2/PTHzsYhpq1jjnNVjofwG UaDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=iWkDiee1LZTgvQckeuR155XhXECzXk4wMRuKpbwpsQI=; b=1BL91Daa55Q0EC8tGbqKuUbT7cyWgmTAbQ5wmQChvLsrpiujiAqJjLDRsIGKWza6X4 cSlkyat0kjCOiHSDZxolCRwKgyRjNeh9VOJo5oFb4jbWokAYy8m6Uv49rvUBo1KGOYsf 6r2EhDi0e7T1YgxtldOgQhy6KM/Fu4mcTdQryxJD3dwlHkd7jeHYXCMfoQ9CsA5JbX0h t6XcyKb7vwfII3uJwlgz+bNcYMVKpwI31N6r9yuoNNEbXf/WLT0GNOYzJ6vAOII+RMG6 +zUFoKaeIEyunWs67N0uCR5N/SSeNQ6cOHCs4KAuhXUWL/HoiKaLDu8zqc/poeL6sc3b j3lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KnRAkzPX; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id jj14-20020a170903048e00b0019a9d2b345fsor3155637plb.193.2023.02.23.08.36.24 for (Google Transport Security); Thu, 23 Feb 2023 08:36:24 -0800 (PST) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:cec5:b0:194:62d9:9a86 with SMTP id d5-20020a170902cec500b0019462d99a86mr13726751plg.59.1677170184429; Thu, 23 Feb 2023 08:36:24 -0800 (PST) Received: from localhost.localdomain ([2409:4070:4895:2597:f346:e6de:b0d0:cfd2]) by smtp.gmail.com with ESMTPSA id jf19-20020a170903269300b0019b0937003esm4379366plb.150.2023.02.23.08.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 08:36:24 -0800 (PST) From: Manoj Sai To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Manoj Sai Subject: [PATCH 3/3] rk3566: radxa-cm3: Enable USB OTG Date: Thu, 23 Feb 2023 22:05:53 +0530 Message-Id: <20230223163553.647775-4-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KnRAkzPX; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable USB OTG support and update the fastboot buffer address for Radxa Compute Module 3 IO Board. This would help to use fastboot by default. Signed-off-by: Manoj Sai --- configs/radxa-cm3-io-rk3566_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig index 2100cf2cb2..4d2acef6cd 100644 --- a/configs/radxa-cm3-io-rk3566_defconfig +++ b/configs/radxa-cm3-io-rk3566_defconfig @@ -21,6 +21,7 @@ CONFIG_DEBUG_UART_BASE=0xFE660000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0xc00800 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_SPL_LOAD_FIT=y @@ -47,6 +48,7 @@ CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y CONFIG_SPL_CLK=y +CONFIG_FASTBOOT_BUF_ADDR=0xc00800 CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_MISC=y @@ -74,4 +76,5 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y CONFIG_ERRNO_STR=y