Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1000548pxp; Sun, 6 Mar 2022 03:20:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEwIOpDaBQoFk0fVIWt0YcE45mXLE5YDh44KYap+3f6LpML0FGnbbrfXigGHosdJe4d8/r X-Received: by 2002:a17:90a:fd98:b0:1be:eef1:ef40 with SMTP id cx24-20020a17090afd9800b001beeef1ef40mr7759941pjb.143.1646565658350; Sun, 06 Mar 2022 03:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646565658; cv=none; d=google.com; s=arc-20160816; b=lo0j8Yi9xc4t8VsC/Z1nifFChJhD3ymQLLkwd5a/8yc4ftqihrQ4VggUrUDdFyfMxR AjgthIz8RTcFObHNajXOAFy0X1e0BrgEvTT/2w9aQ5u85QHjGg2pfL4rgvUh+NicFGWK ZCJSwdzmsFdQlFXCduH3BRj9Qrd0uzxWrCOyrOYTN9aZMRnb+ROp+NYOqeNuCDZq+K4T sBA/9jpXCZEHFGlg5hy7tI/GHSvqi4puDeH08HP6F7ZeRnSGosyjEft4V9F6lDfXTwzs fC5y0JEplLnn9tcyZsOfkqax9k9AHax+o3YnCoAUISQmxHVM6KG86W5DZuJzrHFfT/+/ m+2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=C/xlMo1PVm+ac2Jl0tTqMU8UTCqHc+HR3iFlmP5dYMc=; b=Zn8TRkh6kyv77zDQGUrgq3zyspLdPlNNiTYNPHWpJK0LDASYCc4M5yeZ+skwVo8P0q 4+r3XHGLqDHb5sHNRoSRyehN5DuWNWRZwrZ7/zJEiMAKGV95ssoVyN24gdZAsZduwcyN v1NbNlyKBFQ7qH7NHV13lBJ1fvq5oqv5yPVrdZmVQhglq/mdfpHLW6xhNrPT8X9jLba/ WgRtvbtsrnxFBteA5ikasgbKIhEPDinLZvU2wksWeOwWqBfIujj9i/VX+nDNzR5Terlz IsAeIjChMpDq48RtoQF5mBdcsVk/vqzlbYa93WyhVsc4g4vEdPWOC/0B0LwlDGOzbuX2 I56A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=R4D82yx1; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a170902700400b0014fe2d3e229si9081435plk.141.2022.03.06.03.20.40; Sun, 06 Mar 2022 03:20:58 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=R4D82yx1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbiCEKJS (ORCPT + 99 others); Sat, 5 Mar 2022 05:09:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbiCEKJQ (ORCPT ); Sat, 5 Mar 2022 05:09:16 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4253EF39; Sat, 5 Mar 2022 02:08:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646474868; bh=YJqn1NC2PcONovl+FeGlrbZLfeART2llhJv+aFruqL8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=R4D82yx17Ur9XFddyt1BtT8rQBFwwHNMEkM2Y9Uftfb3Jtx7H7JMo92zGASLZqeW7 hMKfVRnjVoTa5o1XQpab6J4m2CCZ37A2s+vClm/7Zw8KfRz2Q3Q9QsvZy7BPZcmMVe +jHMjTYalA0KxDWHnD0svKkQ3mScBfs8jlEA+tEE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.245.79.220] ([80.245.79.220]) by web-mail.gmx.net (3c-app-gmx-bap19.server.lan [172.19.172.89]) (via HTTP); Sat, 5 Mar 2022 11:07:48 +0100 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Rob Herring Cc: Frank Wunderlich , devicetree@vger.kernel.org, Damien Le Moal , Krzysztof Kozlowski , Hans de Goede , Jens Axboe , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , "linux-kernel@vger.kernel.org" , Heiko Stuebner , Peter Geis , Michael Riesch , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , Ray Jui , Scott Branden , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" Subject: Aw: Re: Re: [PATCH v4 1/5] dt-bindings: Convert ahci-platform DT bindings to yaml Content-Type: text/plain; charset=UTF-8 Date: Sat, 5 Mar 2022 11:07:48 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <20220301152421.57281-1-linux@fw-web.de> <20220301152421.57281-2-linux@fw-web.de> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:/P0vzO+iE3b5I3dbtGgMwtxR9U6OKwczttbAGfwTXkfKWsHrYxxTETEAvFpR6TjrKXlHj CbsxUsZvI7LPDJbP5Y62qRUxeM+tT+vL0+BSNLGg3EybiyTLZbjIykCpxvz+Rwnuz2E1yiPspb0j t1qM/Cr8NFDw7DJaII5b0gvdZfJpCFNOvCvoJaNqbBKauKdhu5HZOwKwNRe9m2SjU1Y2s8XoKvh/ vDvOSsM9zY/kHDK0CVOr7/tq8QaQd+1K7Qv5BSaZB6ROwZhCYgXwmYENMCrMzi+y7pRYmJtb0g8E c8= X-UI-Out-Filterresults: notjunk:1;V03:K0:xhCga6P51Tk=:BhJdX6j65ejZ9fVOAYZOhq hN1UYc10YfWYB62IOfbzb/+zGB1PgJ0rofHpQiRaNchSj6/6hdji2p7hD1KnL/zXdNw5+yXYJ KdY8nzqsURgJo6MEt81IT3U+tkdjix62yn8Vxsm9WlyKYPb00Pl27IOlQS/sb15AX4CDj4hJp v2/sKOk9AOxQZOfHKi9vxOAsE3/MDq6J/x/nvi4o9xVnaq9RgoNMljKr5zxHXhwu9R95MwTiY UzEYI4EvolulY/GtOV8nMMD1eSPEYIU7gK98vTcvbprwuBi4XzQsDirtj8LztSJGV9DzJ1Ock 5eXjtECIz1zVmirc/BCoxY8q1PQzeZZmHG+xV4ps0Y2IvnzKYn/yxcsLzy1CueZ3FDk4csnv1 MYGicJaSddUg4g6ePiPsH9VW1tD5O6UkCjsodAaxiG5NTFtOUnP+JQWqs4wymQNUwjclUkpBa r2bYyxVA32aZhW0un+F+2sHugUsiNRaXJb/fNzTju0Q+TiAp/grYvcSsruPoByfh2ZdDzGTYx aC3BikVbtgJhBkyA1MpOFy/VBrOfzzCC/8K56k+oBBMYx0UkmUSyzFdjftONRSKXxSrZJ3SmY VCKqi4Bik8pxvpnHktviqaP/SHMYbnLLwo8KSWROLJtIchrY0w+wLaxV0wURJKPamozPxIGYI 74sgQFbMVOt3THPMA+WPQe32icT/X8u1WPSgRkdleA4DdegTmDUTK9uNDQj4lECR6flWJD2cl 6BxG0b0Fh+6GuBU+SW+EH8FXXzmzkjFYmQVBMVoJnIvGMbhA81Y2X0paMDYQonqbOAjidUJch XugSAYi X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi > Gesendet: Samstag, 05=2E M=C3=A4rz 2022 um 00:37 Uhr > Von: "Rob Herring" > > > > + ports-implemented: > > > > + $ref: '/schemas/types=2Eyaml#/definitions/uint32' > > > > + description: > > > > + Mask that indicates which ports that the HBA supports > > > > + are available for software to use=2E Useful if PORTS_IMPL > > > > + is not programmed by the BIOS, which is true with > > > > + some embedded SoCs=2E > > > > + maxItems: 1 > > > > > > A uint32 is only ever 1 item=2E Drop=2E > > > > > > IIRC, isn't the max here 0xff? Add constraints=2E > > > > i've found it only set to 0x1 so i have currently set the maximum to 0= x1, is this ok? > > If some higher value is needed binding needs to be touched=2E=2E=2E >=20 > There's a spec for it, so no need to look at what's used=2E Calxeda AHCI > had 5 ports IIRC=2E as far as i understand code in libahci=2Ec line 535+ [1] i guess i need to set lower 5 bits to 1 for 5 ports, right? resulting in m= ax value 0x1f > > now i have only the marvell-errors about incomplete sata-port subnode = (without phy/target-supply) like i mention in the patch=2E=2E=2Ehow to proc= eed with this? >=20 > So the child nodes are incomplete? They should be disabled then > (status =3D "disabled") and that turns off required properties checks=2E thanks, have disable the nodes and reenable them where phys/target-supply = was added [2]=2E=2E=2E now the dtbs_check is clean [1] https://elixir=2Ebootlin=2Ecom/linux/v5=2E17-rc6/source/drivers/ata/li= bahci=2Ec#L535 [2] https://github=2Ecom/frank-w/BPI-R2-4=2E14/commits/5=2E17-next-2022022= 5 regards Frank