From owner-svn-src-all@freebsd.org Sat Jan 27 20:14:01 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 713C5EB75E6; Sat, 27 Jan 2018 20:14:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCB1578162; Sat, 27 Jan 2018 20:14:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x236.google.com with SMTP id w50so3297428wrc.2; Sat, 27 Jan 2018 12:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+36yQ3maWABYpwAXRoXK2N2seovdDri7hcPiVDvn9Ao=; b=NJaZ1vFSKTDifmjXRvTg7/A+VK2zK3oBnS2+JEZUhYIbgO+gk3gvm0kqA/Rg+rD8fs dPcpB79J2v0yG7/PEW6ialYa4u6L88Q+jhBkBAJwTpPX1LX/tl+HUajZl0j5cA9oChJD XySxRhNEPZHr9xQjz5fn/SqcA72QetU9JX5rXcVyYjX4TvkbEukGO6ep1aasrlwkf2Sz 5/0jDMSvaiFZL8OoFwFSBcTbY2+gAXT7uk4gLmglQm1kQ7bpptuuA8jUC9RsaF2xhAI+ iGHx+Kspqmv3wK+2VaDKMg+XKYa2NgEunBv5uFgwyWaqyLhWOj2dMk7jbQ/ziN6nohyZ nCFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+36yQ3maWABYpwAXRoXK2N2seovdDri7hcPiVDvn9Ao=; b=IQdiZYyLjXF9UYOD2EwXA+bVBGqbJfbZxmVaWWcQKFdSPZ2fvPAwoBEAPgcddjB6ky fQQ8TKLeZnJA3sGypiaVS+qAW1+9nnepRog/lcCbmh89k/QwIaOxHUtdTSYLZR2MJjqd /+yYki8I2BuiG2IY+U2y59ItfydSnJPRcDe82YdD0A2VfvPySWsT9IPl/fSXbCj6y01K Z0Xnu74Vv5Pw7auMQwlrx+4O0eYx44ciDOFcPQPj8vC9W/hJ8XybCDbjU8lMe0+Wz2Ax htv8XXA26eBX/4Wedvt8LOu0MUY5y6TG6vvDuexB4npNz4OBDT9oaVbGB0jP40OzndWL cgRw== X-Gm-Message-State: AKwxytevzMgapi7udp0GfXFAMt3uF2yTzdN/BMNjLC9xgV6LE18k2w07 Or9v451zutvBblP43LcCy8EpA9k7V05+Jz6jY98= X-Google-Smtp-Source: AH8x2242f3WsebyWGnxyP8u+Yj2U7ZL7kZXNcSJPRZgjPGEiV25xuPU+AoJA99J6HRzPyxsT7I6hVTq3ZKJmFrRMXjw= X-Received: by 10.223.186.129 with SMTP id p1mr15013596wrg.183.1517084038956; Sat, 27 Jan 2018 12:13:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.181.3 with HTTP; Sat, 27 Jan 2018 12:13:57 -0800 (PST) In-Reply-To: <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> References: <201801220710.w0M7AUm9091853@repo.freebsd.org> <90451.1516663240@critter.freebsd.dk> <2987003.eeGRFBb6N8@ralph.baldwin.cx> <93949.1516733748@critter.freebsd.dk> <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> From: Adrian Chadd Date: Sat, 27 Jan 2018 12:13:57 -0800 Message-ID: Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules To: Emmanuel Vadot Cc: Poul-Henning Kamp , Warner Losh , John Baldwin , Ravi Pokala , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 20:14:01 -0000 Hi, Find the middle ground. Don't dissuade the developer too much. Here's an example: Make the driver follow DTS, allow a tunable/kenv check for it to override whether it needs to be in the DTS or not (the "keep phk happy for now" compromise) and have it default to obeying the device tree. That way phk is kept happy and the defaults are the same as normal-ish ARM /and/ you have a springboard to experiment with extending FDT overlays at runtime for people who wish to do so. (I personally hate having to edit the dts/recompile/reboot for every test hardware change; it makes breadboarding things up kinda hilariously annoying.) -adrian