Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3341748rdb; Wed, 27 Dec 2023 04:37:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjNt/F8FIcIt404zdpOb5JieOMqfYb4s+GSf21cLSCoJwE+V6x1GkP2lAqEKkcfz23tbMH X-Received: by 2002:a50:d5d1:0:b0:552:fc86:d417 with SMTP id g17-20020a50d5d1000000b00552fc86d417mr6189304edj.15.1703680666953; Wed, 27 Dec 2023 04:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703680666; cv=none; d=google.com; s=arc-20160816; b=GxwjRFGVxseVrHWodYp6bWqtaPSVAfbB+UPM3VAbs979cVlLRhH2yBcfHDtMYl48E5 9DNnhXFqTLStuUXDrqOZqAtFA7C92u5sX5bCOHGr6aWMulCmlYU2f9XQC3QDSA2filZE CZXQ+4Hn0p+JuAoPJUrMzedH7hEjLZUrD3ExgN4OHU9mjIuR0eYvSFEztBPUujE/qT3b TRZFc0hH1Q2M3I2fCFGzfimSJKyqhHGLuhWXzx7+IPZH9KsSoHRai2YYD7qFnz/UIDxj CoGauMdwMw5DRlYr3phVrlG6vq1W6Uf8yjo0jx0Xvq5x4dIf0F4v55iMtzqONboqK2x0 J/qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=wesJmWNaOnVZJZpdhuoOdG9dT7HD2sjCO/NjwB5ss78=; fh=9YBARXTCff9lqTj1qcoddiy1llTh+DN1c2T6ffV6R+4=; b=t/ak1s74xJhYpW5mdm0BrDk8ZDjqn3MOe+fbFF3O4Jsrtft7vxqudX9FZtGta+FnZL xGsyaP+/RZeq99OoaU9eQWrSpRGU22Rn2WY2ob+GQlYdT3EgOBo57CckbPz+w9rHzQUn YGRATSXNda3/lG1MLfCJjy/drohytyoZnOlRK2vksyMkZh8r0ONB9qfNY1w++GGWkkHR 6OWiinl+sBSseKUgZrQl+2UrdoZUyl4ghDt5EQq5+D63mYoszf9cyOxV/xWMStLwJbx3 Pm8RyQeOQC6Lv0rbsAbe+eeL1PLk39rujTod1DJMUkAEemRXqzTcRK7IDdQT5Ku4ZZKo lAQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aN9iDgia; spf=pass (google.com: domain of linux-kernel+bounces-12016-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12016-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z17-20020a05640235d100b00554a2012cb4si3711939edc.207.2023.12.27.04.37.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 04:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12016-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aN9iDgia; spf=pass (google.com: domain of linux-kernel+bounces-12016-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12016-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 86FA61F22E38 for ; Wed, 27 Dec 2023 12:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30719446D2; Wed, 27 Dec 2023 12:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aN9iDgia" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB601446C5 for ; Wed, 27 Dec 2023 12:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40d5aefcc2fso11145595e9.0 for ; Wed, 27 Dec 2023 04:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703680655; x=1704285455; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wesJmWNaOnVZJZpdhuoOdG9dT7HD2sjCO/NjwB5ss78=; b=aN9iDgialq29+oBwXFdUYOKDo5tync3/WPOVMH2fDzzG/owVPcp3QZauQZizIX7YlT uKLkfrmBF5fhbypspC5jjSPFekS9jTJy2MCuyOWSkX9HlEII68qs7U+SVi9V0Sx7Dswd uiN40UvAUpwUkWKfKL2SPD4XMpVJqdvfsw2UilAiz4lRIF0HBI0PPS5QvHy6VO9E6Tlp ZxfiY3egfERURYqsSWkF88k/FiczmPDhzioT9ckJyiLAKM1lUgUxFJd7nfc82lVY94C5 tn7snY4Fb4HBE/vjtEyPzhNdHN0ceKcyWkrYgcIEGXmDWDHSYYA31Tx1bqX7EZaR9AtO F3bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703680655; x=1704285455; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wesJmWNaOnVZJZpdhuoOdG9dT7HD2sjCO/NjwB5ss78=; b=H4gWL8TSxRzhomM62+YwNNCD5yN65qUri1XHucCNC5+BUy1eMs/x5AuZEnxMO6JYLS 0hGEwvOtFX4/iHFPzBxgHyKzqRJt422fJ5MNifob8CW5M4gBLgxA9MtTMVmWYZabGV+f 0nxLM1KZnkWnigXBZBwqqqOO19ATGS+QE6lt/3FMKhQWyMiAvmDyEI720bwUykU0fkcW iP3DOtUYU1FNdqFTSCTFY7k8njWoLDwsfwtIP+f5g6nG/wuK1utW5AbhfgZaW3pNpfDw EMx6JDeGd9uUrR3hQMdJGh6Harnwo5wyX+T/m1FTY7PTEp3JlvoUq1kMe9kXZviMsg0l zVng== X-Gm-Message-State: AOJu0YxRXPRW/fSauODr4LyrE/3rC0lyKJx4L9bfmWco4ZljNEk1lFMS WfJkX0qJxcZvV9Bk9PPMB/MV4k+dlNeW1A== X-Received: by 2002:a05:600c:2b0e:b0:40c:31f1:145c with SMTP id y14-20020a05600c2b0e00b0040c31f1145cmr4841175wme.169.1703680654916; Wed, 27 Dec 2023 04:37:34 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id m2-20020a05600c4f4200b0040d5c58c41dsm3569893wmq.24.2023.12.27.04.37.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Dec 2023 04:37:34 -0800 (PST) Message-ID: <2bf1c818-4a7e-4fe7-9441-471de4a8c469@linaro.org> Date: Wed, 27 Dec 2023 13:37:31 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/8] dt-bindings: marvell: a38x: convert the soc compatibles description to yaml Content-Language: en-US To: Josua Mayer , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> <20231226-support-clearfog-gtr-l8-sfp-v3-1-fd1ac2d6bf2e@solid-run.com> <202e7469-60a4-4d8f-87e6-8932c593a877@solid-run.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1N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ViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <202e7469-60a4-4d8f-87e6-8932c593a877@solid-run.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/12/2023 13:05, Josua Mayer wrote: >>> + - description: Armada 380 SoC >>> + items: >>> + - const: marvell,armada380 >>> + >> Thanks for the conversion. I think this is still not what we want. The >> main problem is of course in the original binding, not your conversion. >> Compatible armada380 above alone is not correct. This is SoC and SoC >> compatible cannot be used alone, because it is not specific enough to >> differentiate boards. Same applies for further lists, which I removed >> from the quote, for the same reasons. >> >> What we could do here is to fix this instead of pure conversion: >> 1. Add this binding file with new compatibles for existing boards and >> drop the TXT file, with explanation that you actually document properly >> all existing board compatibles. > So - we could add a boilerplate yaml with zero boards in conversion commit, > and then add new or existing boards through separate commits? boilerplate YAML file is kind of useless. It's like writing new driver with adding empty C file and Makefile entry. I understand you want to split logical items, but there is no logical action as "empty binding file". > > I feel that collecting / fixing the compatibles for all a38x based > boards might be a lot of effort. > Would it be acceptable to start with the few that I know / use myself? > In addition to those already submitted I could include > armada-388-helios4.dts. Yes, it's fine. > >> 2. Add compatibles to existing DTS. > For boards I do not know / using codenames - is there a template / > generic description string? >> 3. Add your new board compatibles. >> >> At least this is what I would do for typical cases, but as I said >> before, Marvell here is in some surprising limbo state. > Best regards, Krzysztof