Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4288361pxb; Tue, 17 Nov 2020 17:06:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9poaImqabC+aHXPM+2kgHPLAgEn/aG4naQOW6J9uYNj74FZPSLDihuNHITqvnUrsGKpxX X-Received: by 2002:a05:6402:1ef:: with SMTP id i15mr125411edy.60.1605661602041; Tue, 17 Nov 2020 17:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605661602; cv=none; d=google.com; s=arc-20160816; b=pvdc+kGQD3SyuHdX5JG7nwX2IGd1ViWNtybM43EizI3gwRVtaoRFPURAK3RqD6haMr dFFBL5EjcunDQtl4iBWstfUSJHGLGqZigLmKM0jcc0XxFdKJYiiKNqznuLpQv8VgL5hf DEmZpRBzcun3lWqzNzAE37yCrLlI+6gxhXZZGjrIsO7ZK825bjPyRjcxSOooI7Mv0cAo 65NN1qhcwM2l/rCtHXTwmGcxuLzwXSiuBxuZECYSDn8bOZsFUhapZ4OtEl9SEmb7YqB4 T4Zn3NqbiGtSulNGF5Eesl4Oy7rTpPyd/PVs7V+coerq+VCwgM38dUohe7b+oAcUuNEY E6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=PlgdtYEdscf+tUFxFKexbIH/xB8SATTGk+HtZWc0bWE=; b=Oo3Juy/6EOC1UuiAtrB7WKmYKmOxcmS1sVGyo3cQN+8hjsaGEMunSMgP3roIq2W6LR ojGNS+yu+jkMCHsdnBDOrBwMvT2Kjyvllubin1RrZ01OvngWfZnE0IDxWhdf70zfF2kn MIXXU90LwpLOFWrqZxmzNjJswyLbczcdvz9Bv4skDuyaWOsnITlEb495gWQEhQ9a8+WU DlKSDTA7o26yOrxdbPjePmelJVIYfDimnF3h4jmm311qvH6xYkCKI/tdNiuV3WjbMsdu GIWnzDqn0UQjY4GUrhB0V5X5xiioSA+P+3zm/u17kM3Z1efpUNlqk9BVJ+CuPn43E+MR oxQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z26LAAgI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si15267801edy.533.2020.11.17.17.06.15; Tue, 17 Nov 2020 17:06:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z26LAAgI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727155AbgKRBD4 (ORCPT + 99 others); Tue, 17 Nov 2020 20:03:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbgKRBDz (ORCPT ); Tue, 17 Nov 2020 20:03:55 -0500 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 286B4C061A48 for ; Tue, 17 Nov 2020 17:03:54 -0800 (PST) Received: by mail-lf1-x141.google.com with SMTP id d17so500383lfq.10 for ; Tue, 17 Nov 2020 17:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PlgdtYEdscf+tUFxFKexbIH/xB8SATTGk+HtZWc0bWE=; b=Z26LAAgIMRvns+YZ8VKNh4K8pGmPO8h21+E3k1Ss952Ds8+3HjzO/6VaW4hLl/zw0n vFg7thdmnfIgF60Nmbp0Irvho8TtVEGlnsH78gqUVpE1560l97xDwRwnLpyzEZKAyoJ0 8xV74Ax68cLJ6kkpWkYcqaN4W+13B0A0Q7Y8s7RuRJKC7G6w95xmky1uk3t719ABaO8E jihYCw8JiNNepaHlzMkj/FyCYzeISl92Jwmm2oBWxbR8UtDnUhMZN8f+1DOMfI19b6Gr tMzPxZwnq7OxXiFhfAAgwygwEtU6lS2tzIThdUUnLtha7pJS/IlxLaJaNbuTMFoN5VRu BduQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PlgdtYEdscf+tUFxFKexbIH/xB8SATTGk+HtZWc0bWE=; b=b+dsCNjIr9x+dMR6K4YyW0JvqZNfZzm7+jqF3Mb3l4E7Y0/HoARRzENLGrOEKooJSF HOA/n4aSQn7qswa0aTtIDDfjWQCgrYjpg2h0LNzzwbBg7kQMhyH4zAHIxafgyHvo1B5x hFv6t0DLORQTUldFsW5deldZxKQpW1R3jqBzUkz5n9VV7IhdjVApXb+xGh4uby8dFqLs QS5L1wUnQilmY7i98783Sj2BVOL3RSNgKS9gSMtr4q0F6ECFQFw2OUPxlfWY44sYmIX1 9CnBCJqrBGXcJCfH0OGQU5NtOELsFyXW4VNmu4pEluvk2T7BSivo0DlzdIRKE6wDuP8J AEGQ== X-Gm-Message-State: AOAM530y+fFowjFUmNYSR5Pwgz5JkiY8Bjfg2VenTiFJ0pQmSQU0ZyiG 4Q6hCPW5iCkyjCQwzlNJNjAbwLQUpCOXTexmY07ApQ== X-Received: by 2002:ac2:4ac7:: with SMTP id m7mr2551245lfp.572.1605661432618; Tue, 17 Nov 2020 17:03:52 -0800 (PST) MIME-Version: 1.0 References: <20201106150706.29089-1-TheSven73@gmail.com> <20201111123327.GB4847@sirena.org.uk> <20201116210632.GJ4739@sirena.org.uk> In-Reply-To: <20201116210632.GJ4739@sirena.org.uk> From: Linus Walleij Date: Wed, 18 Nov 2020 02:03:41 +0100 Message-ID: Subject: Re: [PATCH v1] spi: fix client driver breakages when using GPIO descriptors To: Mark Brown Cc: Grant Likely , Rob Herring , Sven Van Asbroeck , Andy Shevchenko , Jonathan Cameron , Simon Han , Lukas Wunner , linux-spi , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 16, 2020 at 10:06 PM Mark Brown wrote: > On Wed, Nov 11, 2020 at 02:36:07PM +0100, Linus Walleij wrote: > > I don't know if we ever formalized it, there is nowadays a rule akin to > > > "if a property can be determined from the compatible-string, and if the > > compatible-string is identifying the variant of the electronic component, > > then do not add this property to the device tree description. Just > > deduce it from the compatible-string, assign it with code to the device > > model of the operating system and handle it inside the operating system." > > > I think this, while clear and intuitive, wasn't at all clear and intuitive in > > the recent past. > > I think the main push in the other direction has always been people who > want to not have to write a driver at all and put absolutely everything > into DT which has scaling issues :/ What I can't understand is what gave them that idea. This thing looks like a dream to these people for example: https://gist.github.com/Minecrell/56c2b20118ba00a9723f0785301bc5ec#file-dsi_panel_s6e88a0_ams452ef01_qhd_octa_video-dtsi And it looks like a nightmare to me. (There is even a tool to convert this description into a proper display driver now.) It just seems to be one of those golden hammer things: everything start to look like nails. Yours, Linus Walleij