Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2874760pxp; Tue, 8 Mar 2022 03:46:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwp2Cy2jlDqSX55lwMeeUHxXCiDhnUDeG3TbmPAk2C48HGyicyTAU605Ok3YOerXLACvE7r X-Received: by 2002:a17:90a:da02:b0:1bf:3919:f2a with SMTP id e2-20020a17090ada0200b001bf39190f2amr4221509pjv.208.1646739976457; Tue, 08 Mar 2022 03:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646739976; cv=none; d=google.com; s=arc-20160816; b=iPWMHh6Jcy1wOB7jkxisUTYJOgVoseGOO9Vg/K/FvqzvPSHj6df6hh5jQEQ0JqUkBf +D/nP31UKChUD93iRexdsZmW80DwoYBJ6aU1ce6XBvd5kU3QBIzAd/RRUuHv6Wt2C8FO K3gdgDTgkUhHRg5njWQOUtD9hN3cnm373heQceev2OkkstaIHZ3SMxdPwIE6rU2hChnM Yx9ZWjpPBTxxpfqGdT4p8iKRLNyFnaoOuSM7LaMo4kMspW2NkKLpJMxt6kjiSvjC5uwB Dz3UVuOvGHJEEO1fNV+B1i1IWszIaLsPRcPbR3vYgwzXd7BTHl9ehL56eGqCJIUeVS3R 2XPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eN8whrQFP0dYkqOwrVQzZHnY72AuM1tzrD2ytbHKbko=; b=x9qlPhcu2zFDKflWhl3dmCea2csYxbQIbJcW5RDQY1A0zccUcUogmrOsTq2RC02P7f 0HygDQBxRi+mKW/HgW02DOIC59xyqEmdR6IYKSL3nY+6VExHi2EO2zW39kDXP2Mf5KpS CIxi5toFKR2ZAF8GjLWiWygFv1GOlp7UdZ+9W9ylbgtYSUio/nBhdhZ+ipJqQFLmnVK1 PbrDyOveV7FXrlU5pALD4YIl6Ot0R+WI32XN9lmELBRh0edLgpCuqTGUM4hUkcrhUUTJ KI4+Vc5QIhA4i553AbJBsImVyAU73cNFQCQWjIfMHqSrVXUUdsX9hBlDRTu4Ls3lBh4N 37CA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w1-20020a170902e88100b00151888b0e21si16599696plg.408.2022.03.08.03.46.00; Tue, 08 Mar 2022 03:46:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240110AbiCGWG5 (ORCPT + 99 others); Mon, 7 Mar 2022 17:06:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbiCGWGz (ORCPT ); Mon, 7 Mar 2022 17:06:55 -0500 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD8398B6FE; Mon, 7 Mar 2022 14:06:00 -0800 (PST) Received: by mail-ot1-f46.google.com with SMTP id e25-20020a0568301e5900b005b236d5d74fso2683249otj.0; Mon, 07 Mar 2022 14:06:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=eN8whrQFP0dYkqOwrVQzZHnY72AuM1tzrD2ytbHKbko=; b=XwM7znvFo9IZgXmog0jrq7ch+XnDcJFW7bI2Q3hPRjFYRSIfrDPVIiPHq8Qcks0cUO Xq4Z2T6lhpwI0xcaVNM0QxT8LGf0y9I4pM01dyzIdqknQVBCb8Ju3aty95sytwH3oSy+ dWC2xbtPEI3hadyuJccq5h3luwZfpzROFH1Qh9lN+7kbrYqB+vqSB/8qQfFZ0T2vfvW7 swdElualzRujtfSYgi3t6tejxNcd6fjmpzaKULkTxQ7SD4PckCF8nuZgl/b/QD0vO8dL Rvb/L37n7hyU8mIEjPoUGhlynTT6MhhZtm/UTwOrUfBWqymGpPv7nIn54Q04fIVg3bFz WPSA== X-Gm-Message-State: AOAM533BiSYrxUjBiBBk/AGO10bqxrSXHJ397Fxl8ftBh6Vn0UQ/ar5o alC9YFWS85hXDrlr26k3tw== X-Received: by 2002:a05:6830:16ca:b0:5af:6a75:c7b1 with SMTP id l10-20020a05683016ca00b005af6a75c7b1mr6716291otr.292.1646690760148; Mon, 07 Mar 2022 14:06:00 -0800 (PST) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id az10-20020a056808164a00b002d9c98e551bsm2320172oib.36.2022.03.07.14.05.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 14:05:59 -0800 (PST) Received: (nullmailer pid 3324008 invoked by uid 1000); Mon, 07 Mar 2022 22:05:58 -0000 Date: Mon, 7 Mar 2022 16:05:58 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Frank Wunderlich , Frank Wunderlich , devicetree@vger.kernel.org, Damien Le Moal , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Heiko Stuebner , Peter Geis , Michael Riesch , Hans de Goede , Jens Axboe , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: Aw: Re: Re: [PATCH v5 1/5] dt-bindings: ata: ahci-platform: Convert DT bindings to yaml Message-ID: References: <20220305112607.257734-1-linux@fw-web.de> <20220305112607.257734-2-linux@fw-web.de> <18f4dc19-b8a4-015e-48c8-923326cc7932@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <18f4dc19-b8a4-015e-48c8-923326cc7932@canonical.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 06, 2022 at 12:15:39PM +0100, Krzysztof Kozlowski wrote: > On 06/03/2022 11:41, Frank Wunderlich wrote: > >> Gesendet: Sonntag, 06. M?rz 2022 um 11:27 Uhr > >> Von: "Krzysztof Kozlowski" > >>> add compatibles used together with generic-ahci > >>> - marvell,berlin2-ahci > >> > >> This is fine, just mention it in commit msg. > >> > >>> - qcom,apq8064-ahci > >>> - qcom,ipq806x-ahci > >> > >> These you need to consult with qcom-sata.txt. This could be a following > >> commit which will integrate qcom-sata.txt and remove it. > > > > this depends on Robs opinion > > Then maybe precise the question for Rob... I would leave qcom separate, but the warnings should be fixed. For that you need a custom 'select' schema that lists everything but 'generic-ahci'. Adding the berlin compatible looks right. > >> Either you have > >> binding document for all devices or you create a common part, like for UFS: > >> https://lore.kernel.org/linux-devicetree/20220222145854.358646-1-krzysztof.kozlowski@canonical.com/ > >> https://github.com/krzk/linux/commits/n/dt-bindings-ufs-v2 > >> > >> The choice depends more or less on complexity of bindings, IOW, how big > >> and complicated bindings would be if you combine everything to one YAML. > >> > >> In the case of UFS, the devices differ - by clocks, resets, phys and > >> sometimes supplies. Therefore it easier to have one common shared part > >> and several device bindings. > >> > >> AHCI looks more consistent - except that Qualcomm - so maybe better to > >> have one document. > >> > >>> increase reg-count to 2 (used in omap5-l4.dtsi) > >>> increase clock-count to 5 (used in qcom-apq8064.dtsi) > >> > >> This would need allOf+if. > > > > if i get ok from rob i add only the berlin-compatible and skip the > > qcom+reg/clock-change in the first applied version. Adding the > > allOf/if (and making it right) will only delay the sata-binding/dts-change. > > I don't get what is the problem with delaying this patch for the time > needed to make the bindings correct? Especially that alternative is to > add bindings document which soon will need to be modified, e.g. split > into common part. Is there a particular hurry with these bindings > conversion? Qcom doesn't use sata-port nodes, so I don't think there is anything to share. And if it did, that's already in sata-common.yaml. Rob