From patchwork Sun Feb 26 13:22:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2737 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 50DF53F1DF for ; Sun, 26 Feb 2023 14:22:46 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id q6-20020a170902b10600b0019cc1067252sf2263176plr.9 for ; Sun, 26 Feb 2023 05:22:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677417765; cv=pass; d=google.com; s=arc-20160816; b=TESDJ4ybHqyMQ92BO9DewYgSyMg8jnMeRqyQZD3VNacDzRs3cCla/22vqqkBlzskeG 3YM+tvhX3Dj4XC9yjpoi23p4ns6AokoJYwjipo3McIv4kBepATzMdU9frOS+uziIi1Ls adCMYYakqodonnDxRXAfkfBa1ww8QsgxOyZo4UypOZYkyDCJwrVpwkFDUobeH4QcNEHX sjTxCWObbJeqBfkkI7baWskBodMqdIgpyvw4ma+ER3/ZpBpNBwJ+KyHy4Lc1rRMPwhZZ +6hg7taAPFZopH5MwLwCuhkNWm0qEZKyOROpWNNsysD2e5QGuT5oJpJnM3anaNudrIJj fFdw== 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=oodyo70/aassAFbHw0ay+jxUuwV4TbdZAz9IgfwOINY=; b=E8RQ77GTyDYyWXrsoPwzYH6ChhpELuxvKqsURVcIur/7hJlXg7PaAnbQJTojyUhiDJ LSBBp35EF7+yCCNYbyRjnJw4MK2KeSjrzOSpQbMRvjAZPAaSaPb93s3LSfmFUoiM86+Y 6te5uQ1ZSlMp1RoRAG5J1g8A3nhB0mDy+GSgg8beWAMp344T+SzwTVkUu7C6UUcf5q6d G4uql+Ai3hhPB7qFl9SjOjJCvx64BAzsFzeIGrk8ZMD1HTV4TkgXi12+i8j0W5REgWtM IL7XqBnWXT6PsR92BNrSyaqsBZhvmHX1oQLPlCYFlwa1x0afw8mbmYpHZqFs9DjqS2pQ Yuig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iCD5gjfJ; 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=oodyo70/aassAFbHw0ay+jxUuwV4TbdZAz9IgfwOINY=; b=eikWm2JKWpMSrPQnYy1GPlK7Ni9azxpH4dEOOijxmXDxzJiDycKtuAKdzI2PPDekRt WARp3sVy1wqzTifbfjYofs3JDnRK0Nwc8xOUr2W/Wa7OWG+PH9lCPis9nAb8Gr6ujCEO eOgegPr0m7Ah5M+LPUMwofritf8xHUBqinEqE= 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=oodyo70/aassAFbHw0ay+jxUuwV4TbdZAz9IgfwOINY=; b=sk6ZoJRf/sfBcLHu3aPEkxbmxyJmEtYACpokpTYZj+mOv9XY/g5ByvHLT5TMvFs/l1 bK9yOw5Uwch5Tuz5O2G1MrRhc/fhh11L/gK5DWGAjltF7QX6DcQCQd8sW6cUFxyOXjdd F8kXZA+MNRtEKnaE6WpQuj6ZWyyQnR8Qvrf2NYjh5YuQbefxHTXp6gSVhHP8jJCQxs5a yKKYpSAxNmhX+ctvDLVFwdeEq8uRNa3oqxszfAUcpUTiemjDc8o9fS9ybT8dyH3REwyq pKR+P3Cxdblr7z4ZyNCTWftjM6+GQXqyhrKFp2M2xJhAVuSE4hYzriPWuXMD8ByyKsPN h+RQ== X-Gm-Message-State: AO0yUKXQptoHZVczIwN2KbUSEsUxqHOP/y96lz7eUOn7Zz/eDUB6DFAi K0hbGjn/7x6noFYVI9lhBYImoM+3 X-Google-Smtp-Source: AK7set/KOGx1N5EvWbY4cBSeqNEZh8b/GI1ROBtWXM0TpMqnVQ0uaYN/eenS0aLNugTclbfGFkXCiw== X-Received: by 2002:a17:902:ed41:b0:19c:b7da:d43e with SMTP id y1-20020a170902ed4100b0019cb7dad43emr3849940plb.4.1677417764831; Sun, 26 Feb 2023 05:22:44 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:da88:b0:19c:2b1c:4d75 with SMTP id j8-20020a170902da8800b0019c2b1c4d75ls6093929plx.0.-pod-prod-gmail; Sun, 26 Feb 2023 05:22:44 -0800 (PST) X-Received: by 2002:a17:903:1d2:b0:19a:a815:2868 with SMTP id e18-20020a17090301d200b0019aa8152868mr25301733plh.44.1677417763856; Sun, 26 Feb 2023 05:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677417763; cv=none; d=google.com; s=arc-20160816; b=pyzlxRyLgYmo+K4cncG0WRc2jgXRrmswcQaBf113rbQ4n3BBZQqxsF4dBP5kntmnFq yQ+6NNI1os9PR0YQDZrxo03Zi4JF0VvtwQi1YrMG251UavWyzZuEEtrfQ7Gh8F2KmZek QQM3iP63GtOYsHHG/TR3kOgqATFzX0FNZa5Fs7dVGqIxreILk2rs5SxvpAG2MC8QLI87 Pkzg80PnNAAgUfDMlSTmAb7uYkMZRCxQLiKdY7iKfSPOmpo3nLuJjFj5RybV4YUZR9J5 Gs+8Df0GmGwnZJdijXfYIoRfvUD/rYX3BGTwVVu/9FBT4EbZYDtvLQNbXZ/QW1OCEmLM NmWg== 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=coX6jpopxp3zufOl1us5okhXEhlxyYLwFHiEzcmMEao=; b=AiIPfiSq6b5F8bhhsMhuE8kVxusOx2ejYanCRChw7F5wxtUDt2slOnxZXwkVSEkrDM GCdIlkNOFvmKGWgLcTF6OYNXywlDehfydtSTD+7VFL6WOd66sndhLEuQqU+9hHC170GG PbCIcleFXVp5tvoLBKDB0C5ACxbIWycVKMZbrxSQq0+8AQhX0aFSOnKCiVUOmYCsOP4i br808Lv9Nb3k4M2/KW5w9fzL0xHZ7bGmuAF/LOTDymxBkOBN+FWmDJNqGUP0llMotMKh PAYVrBgxUXQDRRAhCaRnKNckzy3zJtiQPa+hBVSbskrvpNrKaTxrvKJ9KoOpD7Tgqteg /MIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iCD5gjfJ; 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 q2-20020a170902edc200b0019afdf949b8sor1122167plk.130.2023.02.26.05.22.43 for (Google Transport Security); Sun, 26 Feb 2023 05:22:43 -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:a05:6a20:691d:b0:cb:8885:5650 with SMTP id q29-20020a056a20691d00b000cb88855650mr20639103pzj.55.1677417763443; Sun, 26 Feb 2023 05:22:43 -0800 (PST) Received: from localhost.localdomain ([49.205.253.60]) by smtp.gmail.com with ESMTPSA id e21-20020a656795000000b00502f017657dsm2324657pgr.83.2023.02.26.05.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:42 -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 v2 1/3] arm: dts: rockchip: rk3566: Enable USB OTG for Radxa CM3 Date: Sun, 26 Feb 2023 18:52:32 +0530 Message-Id: <20230226132234.31949-1-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=iCD5gjfJ; 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 --- Changes for v2 :- - None. 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 Sun Feb 26 13:22:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2738 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 99C5C3F1DF for ; Sun, 26 Feb 2023 14:22:50 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id z1-20020a170902d54100b00198bc9ba4edsf2294689plf.21 for ; Sun, 26 Feb 2023 05:22:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677417769; cv=pass; d=google.com; s=arc-20160816; b=rdEGsHWMSK43hPlnXABJhdxWfFoNQbwwOUz7GJNOk+/upvFQIF9KTnHYjCrp9qHKAY SvHIHcu0m2ORdcRrk6YYRYayCiqPFsZ8qPzzR/iaER7MsbFKtcehjnfDRixcJ2+Udcso 8yxdalBx5OjY03SBWVjyIO6WY7AR7keqIuyAnsRlRuc+xq804qcKl9g/DLE9hjUcA1WS PJpkx5RhCq6Cjxfufqw89O5hMLH1lUjYGRMM4zkbr6Wju9awcTIn/1Fh1W2g3aOH9Rsk Ch6Etfo6PyJw1ax5w12TcmgmVCfwmJ5TtrlB3NnNPzUIUQp7P2mjW+jnRvojuDFk7Dzt F05g== 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=dd/RBd8Z8GYGg9FMlxeN5S/Q83OQDdZ4Dp8HN6dvve5DMOZiJYzmhSe8E8iNC0s/+H LDbnwjS7B5CbO8pvID3l18NSIPCtYI26wBQGAqfEFsUIqjKIq0nnjug8WYfmLMXAswT4 skybVzXik9kbyr5dfVjrA+UgmixyZqniqgAS81Y9h9rVuX4S7X1kffe4nVzwbrVA3GGd enz71+oJKLoR/ePAwgoVT5IHnislIsVc7rnMkX3R2/HOa3J7e2c4mLfPsDeOhvZqQ6A4 8X7j5kgDiRbn5r+hQeYC2s99vLV3HVAGMsEr1Ni0hfZVG+lHZ7/4Z0614Hj7hOLnIJiA f3Mg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=F21qq4Va; 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=CofH94h70iinvQ56oJjRf/dmRVOhomZXE7XSCFqenphZKt6BGgOtSeDZsv8om46KmY Eqef2TODSgoimjJntOUkUqEgjksu+XyLpOUVU3tsO58rAUnrnzU3nB2OkQWEi8VOeHh5 DvffQdlWeIgShdpbdUvoCGgYEa6/qoknDShrk= 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=GmeKLV9RcBW3stuqr876/v+Jx5AdrkpaZSRj8Vq8DFL512im5cICVvKqH5Jsmz0ntg D/pT7C5Jno+jL5zxzW2xrBYUNfkStws1PtdtRRr36/y3fryu0adCmEpE+7h7BYJm1GZB s4qGJPZ7CfJ7XCe7RJe6Gkh3R7i8ypwu4lRIbACUHHTKf7IQQlpvIjOTy7tUY5xD4zwL BEty+Jg3GcFVa5r1Cmr0JWJfwhoEMHBXkGoc71bxRWAqybOwkCgoC1CwYKCyQ3iqr2y9 Dy+jPyT5Z9pTb8Gnaz3mPnxPUiBT4voVL7N6SIetLv6NzpUGyqbfr7QEvzGIQx9ELPfL +spQ== X-Gm-Message-State: AO0yUKVFApJP9KcID4sbw5dM8gzUcCWwQw0SHa69S22Gtni+YTioAJYS F7yyKkgQb6CzsH+t9ErggIR1+nfu X-Google-Smtp-Source: AK7set+yu01Au8pNSZEL6pIOgTlRWvfNaCVY5FOJSRiErh4Qj7GZd0Eo2rs8yJV+tNcFf5dQMGBm3A== X-Received: by 2002:a17:903:330e:b0:19a:afc4:2300 with SMTP id jk14-20020a170903330e00b0019aafc42300mr5015167plb.6.1677417769363; Sun, 26 Feb 2023 05:22:49 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:f542:b0:199:182b:34bf with SMTP id h2-20020a170902f54200b00199182b34bfls7783782plf.3.-pod-prod-gmail; Sun, 26 Feb 2023 05:22:48 -0800 (PST) X-Received: by 2002:a17:903:41c3:b0:19b:e73:809b with SMTP id u3-20020a17090341c300b0019b0e73809bmr28012653ple.25.1677417768428; Sun, 26 Feb 2023 05:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677417768; cv=none; d=google.com; s=arc-20160816; b=nLMO2jt9Czm2bIVDzvi/OQaGzKK1kVODMNohYVZU2ybZfqXpcsQUH/RIaTU8wVSkiH qtUDgKnAcLrdFlw1xlxQI+khXsFmP+Z7nvh4EtvoUz/WvV05NgaCCmwtebcqdpEl00p5 MGqoKLtoP90+uRrEVQPjTa/DrUaF6kVxfm4z1T2F8rKBHHv6UyVuKIPDx5W+T2/J1hhc HPvPJW0aUYBI4tXsq4zrCjBiUs8xlBgXoH2kGiG8J6viVbXH6QNeGImNbcmJ7q4F/9iI wZqYD601cVUJOuhf6/1JT6Y7/z4mR9orPF4x+QPdIgPLmgdhteXPFjsH+xPYLxnfVKj2 vY0A== 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=oVwC4k6m64mBO2MXSs55L/7Jl2eFBYIP0uWLqBSFpIQ=; b=q83kg/WyDmlaJAfwRgSCaL4OL3ZX8eImCFPgH0RvwfW4zZSrS63xv3VhLwtLo+MPix axdjbUkfYUrzv1X1AE4erkFmwMO2o2pFwKFmuVlT37Rq3fc0AQ+igHZkaV4Rvn+imVL+ Y5YK8PoqnAB2/C3D44+uTWq8L7tlPpZvwIrW/kMJTu9dg7AvknblyZwJ2R5ZfA90bpm6 y6GbXaHn6ksaMuYx1B5ri2Wkjl8Bh9ZjFjE2FT2GNOt7I3goBPcSO9BZc9nDXLNYMhyy GTlACKx8IBcpKida5UDRN5huRGleI9nFJwZ2sl0wxkSHv9/vipMF6mmoO11g2ZhDMRIY WGtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=F21qq4Va; 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 a7-20020a170902ecc700b0019c91defbcbsor1270915plh.38.2023.02.26.05.22.48 for (Google Transport Security); Sun, 26 Feb 2023 05:22:48 -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:a05:6a20:4417:b0:cd:4ad1:cffb with SMTP id ce23-20020a056a20441700b000cd4ad1cffbmr351045pzb.51.1677417768107; Sun, 26 Feb 2023 05:22:48 -0800 (PST) Received: from localhost.localdomain ([49.205.253.60]) by smtp.gmail.com with ESMTPSA id e21-20020a656795000000b00502f017657dsm2324657pgr.83.2023.02.26.05.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:47 -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 v2 2/3] rockchip: rk356x: update the dwc3_device register offset Date: Sun, 26 Feb 2023 18:52:33 +0530 Message-Id: <20230226132234.31949-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230226132234.31949-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> <20230226132234.31949-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=F21qq4Va; 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 --- Changes for v2:- - None --- 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 Sun Feb 26 13:22:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2739 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 622753F1DF for ; Sun, 26 Feb 2023 14:22:55 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id t12-20020aa7938c000000b005ac41980708sf1920294pfe.7 for ; Sun, 26 Feb 2023 05:22:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677417774; cv=pass; d=google.com; s=arc-20160816; b=DS+f+12eKXLWP/PeiDyA9xups+6lL3plC5e16MsA2JNJK8N2alSr6Pey4CtaKfA6Do l8RsAsjNKyCK6CNJL8jtTArBBiEAWtPu9PoqndpxQpWjudsylOL+Gvjq6S6Bs74sEfTl 4MXQqxmaksdI32nZcmvMhUJW34XvblvfDJjhEUUihV62QKjmQPA3A4Lb5T3UP0lJD7Yl I4W2q2+XTcx8wZcH+GcdJ0qTsz2xXr4dzXSvl5FOsWy7T4feBhSsWCaaMk0Vk4a6ezGs iQoQ6sE0RBDfYCypP8wYiJdPZmZLpjQmVITpoaMxyz7+joLZrnHnwaJpDaz8QWLqhi2O GrCA== 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=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=Uaq2wOl51pp1ErVi4mlO0qXXiOpsN5ZHkDwUoomuwqLOVcn0OXI+8IZ0mpsbtpBoTb l7W0h9YKcDeeaRXn1x/Ct0EXOfLtakZTNewLKl9QnUAG4V91cIGg/kJsM8lYSy5y1BXm A1XNe/zQRFNSkRN0GdO4tIJe9fkFvHxflR+ePorZknC4nWg1/xYVrcafC4XgXiw8eULf UWPmypPmhZuqFktUX1lxVl7adHDeTGgv3QNZCJwDqoRnUVh5MO0oAiBIaKtMv/Z7ngiX dR09D/ue3y8cQcKZpvvwiciLDp+q8D95tf4yKOGgNQoPjqnqskOeBgxKt1iN/ExFJayZ ILSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HjrluFGe; 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=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=aEUX6kOE4k6q3izG3TJA+XJcPyzmZP7kF0jAzLQsESMqPDjxO8minYPdasKGPnxiqd ZZVsBY2ddC28TIZjtCfigFVJDEEgKS03+wWj4r6ZM42axk2PhrllhgmfCG5MUWysn5uZ +3jzb6xzK9rviKx9RB+9CcaFoDcK8qwIjsoMM= 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=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=OzkQduW/MLO6N8MHI8SViXh9ZWdnwktOcVjC6RCO7JcbmiQkGARDx4qrNXBWPu2759 Nf2hxjGlolj2CvsERMxgcVsS+vo24UF3lfEkWRK7oLOwXOTXGNBKXqn2/VaGLJpF6/Cl SHQsa1s42dEvDsfxv+4pbzoyiyBeaNt6k4afVhkBDxlKcnD9uGj/ogNSvV4Xu7vXWSwX UQvGAwa5EYL2i+8DDxwZvlZFw/dA/+vbT/fdXuizrij8uMxIkRjtdgocFxC1pHgEDwMR +wOZ23zf6XgL1pXlA8VZYhKeGfzZdDLhYwLerpmDVV/fo4xQ1G/pDk7Lw0eAjV75xt4v lFTg== X-Gm-Message-State: AO0yUKXICqbuljE8T9A5lVeA7x42YirWGLvHoOepyyTFkQHElGM+AT8D zczizLq95oLpKyhYe4HeUDoU2h/t X-Google-Smtp-Source: AK7set8c2M+yO4DKSrRmT06ELYIifgRsE2BuDs0kJbiXv9BGK39EQPmylaW1AXelI6VnsGcjQ9HgPA== X-Received: by 2002:a17:90b:ec6:b0:234:6a5:5e3e with SMTP id gz6-20020a17090b0ec600b0023406a55e3emr3669112pjb.7.1677417774005; Sun, 26 Feb 2023 05:22:54 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8489:0:b0:5a9:bb64:6e83 with SMTP id u9-20020aa78489000000b005a9bb646e83ls2314350pfn.7.-pod-prod-gmail; Sun, 26 Feb 2023 05:22:53 -0800 (PST) X-Received: by 2002:a62:1aca:0:b0:5a8:d407:60f9 with SMTP id a193-20020a621aca000000b005a8d40760f9mr19165687pfa.29.1677417773093; Sun, 26 Feb 2023 05:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677417773; cv=none; d=google.com; s=arc-20160816; b=Od1rCUNIUxVDrA60SPoQ4yFSyecEYr0Oq9bnGHJAnSFomSYdm73wCt/Bgd4rvOqiLm cxlqR0NFh5bvQ7Z6FCLI+aN6LdckqkTZ1+m04ifYXRpEz13+k14Pfu0JBDdjxGK5b0Rc w2XQ66Bb5FHEt2R8ntYkj5qV/BNBMpCwvpk9fspXQbaClerqGsprTF3vLmrgZXbcRMHu Z6Ns76OfCZ0eShg85t/NZaFQ2MSljcf3vDonmJgaJZUyWiaqZ4ZnR9vaOr80FQcXCeb4 RP1DgUZO0NrP3buRdyjgRu30Sx42xwp6L+b/HN21mh2fLa6QdX54OUbkRv86co6IhEkS Xmpg== 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=a2SdEunKSLhDhAuX7CUU1j1TLlJy+Tc3vK7RMupM93c=; b=Sm1XX4LTBayOhViC47Akt9SXY9QwRzLrqJMHMCTjWiTi+K3b27OSPF2jdS73JV4bU+ Eu7TwyH7N7P6LRvG1xh+8q2YTPQ2pldFBpk2NVFkxcBTCo4/hroiXq8OpvvXrN1Ba1uQ ITS4Ey5ZADIsva0mnTjOn1/awDi0PGHAxdiawaq03rH6YnjFL1oKp+ECmqcihDjnIaIP LPBWLMIniWgg9/LlMqz8YW4nMZ89JUnuxB+ujAmhiG65PlKLKLvMFxwbWHAIjnidPgQY y55BxuqMuzHOykZ45tdSpY5zQcq/jbYbCFUeDr9wXrzq3ItFO62NQJAagUdMt/TVazq1 id1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HjrluFGe; 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 h63-20020a628342000000b0058e23ca2145sor1280980pfe.15.2023.02.26.05.22.53 for (Google Transport Security); Sun, 26 Feb 2023 05:22:53 -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:a62:8494:0:b0:5a8:9fc6:6fb5 with SMTP id k142-20020a628494000000b005a89fc66fb5mr23349530pfd.16.1677417772782; Sun, 26 Feb 2023 05:22:52 -0800 (PST) Received: from localhost.localdomain ([49.205.253.60]) by smtp.gmail.com with ESMTPSA id e21-20020a656795000000b00502f017657dsm2324657pgr.83.2023.02.26.05.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:52 -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 v2 3/3] rk3566: radxa-cm3: Enable USB OTG Date: Sun, 26 Feb 2023 18:52:34 +0530 Message-Id: <20230226132234.31949-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230226132234.31949-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> <20230226132234.31949-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=HjrluFGe; 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 --- Changes for v2 :- - Updated the fastboot buffer address in drivers/fastboot/Kconfig. --- configs/radxa-cm3-io-rk3566_defconfig | 2 ++ drivers/fastboot/Kconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig index 2100cf2cb2..aba3a65e7f 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 @@ -74,4 +75,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 diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig index eefa34779c..53f0b3a659 100644 --- a/drivers/fastboot/Kconfig +++ b/drivers/fastboot/Kconfig @@ -41,6 +41,7 @@ config FASTBOOT_BUF_ADDR default 0x800800 if ROCKCHIP_RK3288 || ROCKCHIP_RK3329 || \ ROCKCHIP_RK3399 default 0x280000 if ROCKCHIP_RK3368 + default 0xc00800 if ROCKCHIP_RK3568 default 0x100000 if ARCH_ZYNQMP default 0 if SANDBOX help