Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752137Ab3G0UDY (ORCPT ); Sat, 27 Jul 2013 16:03:24 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:52471 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094Ab3G0UDX (ORCPT ); Sat, 27 Jul 2013 16:03:23 -0400 Message-ID: <1374955389.2923.101.camel@shinybook.infradead.org> Subject: Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?] From: David Woodhouse To: "jonsmirl@gmail.com" Cc: Grant Likely , Mark Rutland , "devicetree@vger.kernel.org" , "ksummit-2013-discuss@lists.linuxfoundation.org" , Russell King - ARM Linux , Ian Campbell , Pawel Moll , Stephen Warren , "linux-kernel@vger.kernel.org" , Richard Cochran , Tomasz Figa , "rob.herring@calxeda.com" , Domenico Andreoli , Jason Gunthorpe , Dave P Martin , "linux-arm-kernel@lists.infradead.org" Date: Sat, 27 Jul 2013 21:03:09 +0100 In-Reply-To: References: <20130725175702.GC22291@e106331-lin.cambridge.arm.com> <2007664.vYsECFSKrV@flatron> <51F39FD8.6080808@broadcom.com> <2460092.aLmjrOVh1g@flatron> <51F3A82E.2000907@broadcom.com> Content-Type: multipart/signed; micalg="sha-1"; protocol="application/x-pkcs7-signature"; boundary="=-nIyfHrx0koCx8DlAq70k" X-Mailer: Evolution 3.8.4 (3.8.4-1.fc19) Mime-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8876 Lines: 135 --=-nIyfHrx0koCx8DlAq70k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2013-07-27 at 16:01 -0400, jonsmirl@gmail.com wrote: >=20 > Much cleaner to modify dtc to take a schema as part of the compilation > process. The schema language itself has no requirement to look like > DTS syntax. Whoever wrote dtc probably has a favorite language that > would be good for writing schemas in. Yes, we *definitely* want dtc to be doing the validation when it builds trees. And warning (and needing an additional and suitably scarily named command line option) if you try to build something *without* a schema. --=20 dwmw2 --=-nIyfHrx0koCx8DlAq70k Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIISxDCCBjQw ggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0 Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoX DTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy dENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN AQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK 75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC +y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxD z2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr /+N2JLK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nbmluZzE4MDYGA1UEAxMvU3Rh cnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwaFzjANBgkqhkiG 9w0BAQEFAASCAQBy1VnNJ/MnKefqiMimVD9sJtnyMogMzTUIkMfRXJvBKCJdbMclGSe/L4TULHpf ji+gSgPY+5ulULOsDCVTABXZn7nRd8ZLsajXDN+60oS0XHBkrvLrgZngevs0+rbmdHg51aRK4ptV RPfTkHbYY5qATYDEkyVyqYn4tUA8CjLhDaW28h79XFrwh6RNkTsiRwvIYgJPgnaFXEuIbLf6AgWB 5kNzkgEHetF5SGSdXCkoGzTfk/xXIqaYaxDtGlnoDoZAmx5Cr9xUaNVx8Mtt5Y35Ihi29ZzzPYJx e29492Y31NmbgA4m/qLFdK48EYBB8gAlxj6SmlnWsjKtAkMH1HZEAAAAAAAA --=-nIyfHrx0koCx8DlAq70k-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/