From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=lGDVUXYA; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.68, mailfrom: pete@akeo.ie) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by groups.io with SMTP; Fri, 23 Aug 2019 05:21:04 -0700 Received: by mail-wr1-f68.google.com with SMTP id u16so8473640wrr.0 for ; Fri, 23 Aug 2019 05:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XvKrYAYAS43tRMgsDFKcqc3soQ1KQ96yhvrlr+4ho/s=; b=lGDVUXYAV583Uv2pl7HDRWn8aZTeopP8PHc0zg1sDZBBxncsn5eFhwEhhM78iHL0CS DrVtTOadDbdJk3sMl8Lx337aF8QZZZpHkBTNfk5/leS9b6s3r1AvGURoQAgIbEnfmdZc 7ZoEjSGYzQyKKDen6t2iCk/Nm72iVtE4Rr6xSMUK3p05vN1gsKouv6Wve/PQKY7qUFRi KAvj7AKArco0Sx43mxGqfLZzXOP1WNBtqrsPr1DcyfKLxzwIuxnfK6KEygoCciNZGK+s nz9HJIAFqXqxIEgIMozhX6ovMX30TUSVU5uaJqt+8Ht975YRjHzG8TJSZKvZ4LnnygX7 Ng2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XvKrYAYAS43tRMgsDFKcqc3soQ1KQ96yhvrlr+4ho/s=; b=mU1DjdwvQxp/+iGs0pSZQOTNy0b+hLeixZjMmF5VWRyImFFu5bGAMaGnzhu/gQtU7D 68J/9CDtrJqqTGs2aYLOr+ESuJdORMi4IB7RFupWgBkVv6jE4LVF7o/r1RAA2GiN2zvJ nzxe7dJNyTiiyC+Qikr5VQvlfZ+Bdz80B+T0SlW7tuXwfcs0+//KTQiML4EJLrYQ+7Fk +nK1Roxohh1CgdT5CkQ+YgDs2DtU7Jf9taAdBo6mh8ppl+j0620Ah9EFCOAVShvCK31v +snZZWjZVmYbJiwmU7WKbOQZwciZZIehLyKz2dXg4PIU7CP77efKx3sxV7ZomVbzm9WH ncAw== X-Gm-Message-State: APjAAAV6x55qUxorhLv1yHIi6wO10ZWR4V8Dzdz7E2pdbq3W20FSsJW1 MIdUL4gDq8Q4Hxffl0ouDq06XqxImTs= X-Google-Smtp-Source: APXvYqyH+SA1GsoWAEE7MGKLMEK8qz7STuHCPfNHiYjrYKYpNgbtj3AqVrvqnxsJBzIgkKXW14Fxew== X-Received: by 2002:a5d:6408:: with SMTP id z8mr4293614wru.246.1566562862294; Fri, 23 Aug 2019 05:21:02 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.87.76]) by smtp.gmail.com with ESMTPSA id s19sm4634342wrb.94.2019.08.23.05.21.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Aug 2019 05:21:01 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms: PATCH v2 0/1] Platform/Rpi3: Add compatible property to the "usb" Device Tree node Date: Fri, 23 Aug 2019 13:20:49 +0100 Message-Id: <20190823122050.5244-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit (v2 as the previous patch had a FreePool call missing). The following patch adds automatic the insertion of "bcm,bcm2835-usb" into the "usb" Device Tree node for the Raspberry Pi 3, if not already present. In terms of DTS structure, this patch basically alters: compatible = "brcm,bcm2708-usb"; to: compatible = "brcm,bcm2708-usb", "brcm,bcm2835-usb"; The reason we require this is because the official DT published by the Raspberry Pi Foundation (https://github.com/raspberrypi/firmware/tree/master/boot) only lists "brcm,bcm2708-usb" as a compatible property, and some Linux kernels, such as the one used by Debian, require "bcm,bcm2835-usb" to also be listed in order to handle USB devices. For instance, if you don't have "bcm,bcm2835-usb", you may find that the USB keyboards are unresponsive with the Debian installer. Also, once this patch has been applied, we should be able to replace the Device Tree blobs we currently have in edk2-non-osi for the RPi3 platform (that have been manually modified to have "bcm,bcm2835-usb") with the untouched ones from the Raspberry Pi Foundation. I will therefore send a patch to that effect once these changes have been merged. Pete Batard (1): Platform/Rpi3: Add compatible property to the "usb" Device Tree node Platform/RaspberryPi/RPi3/Drivers/FdtDxe/FdtDxe.c | 75 ++++++++++++++++++++ 1 file changed, 75 insertions(+) -- 2.21.0.windows.1