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=YqFEv8nn; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.67, mailfrom: pete@akeo.ie) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by groups.io with SMTP; Fri, 23 Aug 2019 05:11:31 -0700 Received: by mail-wm1-f67.google.com with SMTP id v15so8702028wml.0 for ; Fri, 23 Aug 2019 05:11:30 -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=kLPdGRnSjqavkjwWdmm7TBIEyBWpV7SEPQRmjh3S4Lo=; b=YqFEv8nnz0yl1z46Se62pr/doG8Ov5nSq6xg49FtB8i3AbCR5Rdm4/MyzSdPjiOPxm QYNFA+5qFAhR1retXZwgoLfYcGmBoxCARK3Cn6xGUbiy5y3CMhkdII3xSt+YXn6rfGBa CbiMwLFvLj6ka8KOmENJ118x9zeilnITfMaJk4PYlWzCJBj1s2iNK1RQdy3FSSVarPTU PO8jujX67odtDbR920nF2kLeTi6iwYBnPRlb1sX6j+Azy1pcgnlLZb8V5HoRNjoljJDQ oGX+RVAUfbU38VlUxyK9k2/a/U2BCXQKTVN5H7nRaXadiOCPSkFNkjp4PPThRaAvswxZ NTSg== 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=kLPdGRnSjqavkjwWdmm7TBIEyBWpV7SEPQRmjh3S4Lo=; b=IrTfrMu7TX/z66QmbW7/JzDp+qS6OZqIZMdtfHqWz5QRX7n6wxtO1bQw21AjJ7T6C9 92vBsKihivOhogLSxIBfLJ20ALNKM0T5tkfEsQtTiKAcHV5LkdQWk5Uw/VudfnUfuqOV cVI9dUDwuDnpaKoldkAlIkTDRmjaG2d3OaJ03A7P+NBAKppNgG7lp0gI9v/vx9NB82sz hfpDqE9P/r4M7Tbj0Nts7hPS3V6gTOaXz86Ncw/SyJJ4aDprmiIcga5674+b2R2W4xu7 cYrST86IsJKAY/i39yAdHkmo3Cbio+vg6825F3zEoLKTc3lZRb1l3qAyKP/5kkS/Hj35 41Xg== X-Gm-Message-State: APjAAAVXp6L84AjSr52ha5eSXvqTpn89mfusqsKvACVGBEoLU27gUNBA ynNAwW/Sy2zKkRUvQ9SdZvvtgcZCVpQ= X-Google-Smtp-Source: APXvYqyqQywHCKEl2ytTPa4R02MKaJXVWMqBYuAV6ycewLsH32BvoOfLxTwuS3ODw3nv87L+n5Avlg== X-Received: by 2002:a7b:cc13:: with SMTP id f19mr5093980wmh.116.1566562288824; Fri, 23 Aug 2019 05:11:28 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.87.76]) by smtp.gmail.com with ESMTPSA id 16sm3247579wmx.45.2019.08.23.05.11.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Aug 2019 05:11:28 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms: PATCH 0/1] Platform/Rpi3: Add compatible property to the "usb" Device Tree node Date: Fri, 23 Aug 2019 13:11:16 +0100 Message-Id: <20190823121117.5624-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 | 74 ++++++++++++++++++++ 1 file changed, 74 insertions(+) -- 2.21.0.windows.1