Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4106803iob; Tue, 17 May 2022 14:13:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC43UtiYO2t22LLukbUd1/wC7wdRYn27G26dxK5WgLLcznFi/NR2ieQxqFveah0JwQsP9a X-Received: by 2002:aa7:d682:0:b0:42a:cd8e:de41 with SMTP id d2-20020aa7d682000000b0042acd8ede41mr3871849edr.240.1652822011185; Tue, 17 May 2022 14:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652822011; cv=none; d=google.com; s=arc-20160816; b=IFme4bRuqYJtu9u+7rEC9nekPd6Zfoj57XCwuDxQAANSlk1+1QcaPKPtFjLPxYyEsb QrFlVls6Zvl6Q1S3AtJygcgk/sweaZwuQMMp1leMoxOU5Yssw3a7N+jq2WR45+UbNqLW vom9tMlcnRNfNHTryO2qQq/5G4mLczIC726vcablwu7W8Drm9h8JlEpoDHJpb9F8vWEv U8bniHTIBHNRt2NrEqKBpmE00DnmUlOk0s6kp7NXduYHaPlXzersGrdT/KI8yIZ4M7ZJ jkyqDJ7ff4woKiHJg06+ve/RBSqcJkXOO3A4Cn2IMcdZWtmw4J6jgFDRs7VOU5rLxmoA PdPw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=0fTl6QIMXPj3pDV74OjNY4tTiZZKBY8RMpeS8yT4YiI=; b=LQCocBzFPdxgWNEuU1k6l3eXr2ZG+GQqao8Zf/XbCYf0ZCF5B9fTMZQ6hN++nZEaz+ fqjwAKKs2VQuf0l7hpJcVMmYcoZbrQ+nlAxmltyZTuWai3kZuIBtJr01gu9sQbDcueml s17VYr+izJpIJJj6hcpWhpor9TbpE7rQ5er5dlHiU9tUFJc3Qi8kIOQuqZG5mMVIs/T8 04yUOqzkvdj5lXivpuZJYeSYScz+7fviPncGCv/mWacmzfaX5TlkF4FL49V5YGN1KIXl gk8RhEf7vD+l3esUuZOaNhSGkIXydYzYd57lC/kkoXmXxkfiuH6CU0ibe03EUHAo4qyp d5ng== 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 ga3-20020a1709070c0300b006df76385f18si284917ejc.952.2022.05.17.14.13.05; Tue, 17 May 2022 14:13:31 -0700 (PDT) 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 S1352605AbiEQTPq (ORCPT + 99 others); Tue, 17 May 2022 15:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbiEQTPo (ORCPT ); Tue, 17 May 2022 15:15:44 -0400 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BBAE3AB; Tue, 17 May 2022 12:15:41 -0700 (PDT) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-d6e29fb3d7so25400539fac.7; Tue, 17 May 2022 12:15:41 -0700 (PDT) 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:in-reply-to; bh=0fTl6QIMXPj3pDV74OjNY4tTiZZKBY8RMpeS8yT4YiI=; b=NDQ2mfgdsvRB5MCMKTO9NEHhCFKUR9XxCBwQpLe2b6ILseDPPDeev4KnmZPKeakjr1 G8Pw/K82UWw6cVNvpQb9RJOdtFzkncu5hmcaPBL5u8NuP0kEg95m1xTlWZgg1XS2XAbf jmo4ZOwSD9cS0OjGk/NzUTKUsMZp/TkReZkv0CMlpxZL31fibi16xWm4svrCmp/DvGK7 sG/RXPJKvSY5PoQ8IS5F6laVYHalp+DwJHWCjtRDcuxeSHa/3laOww3ra8i/ILg/gp6l 29+aCHP/Or3gt3QeUK1kZLmKiItdal3m4rIiZRHVOltTfoCQfPWlHUx+NuNd0Y8GAJDQ NMog== X-Gm-Message-State: AOAM532k5m+2QKB4vz9Gieo+cbJ2Ijf8sztp16jW+g3Z6qa9VxxgCWHU ETnksVNwUivUkhOFYOAWUw== X-Received: by 2002:a05:6870:e30e:b0:de:ab76:eed7 with SMTP id z14-20020a056870e30e00b000deab76eed7mr19243989oad.101.1652814940792; Tue, 17 May 2022 12:15:40 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id m29-20020a056870059d00b000e99b1909d4sm145052oap.25.2022.05.17.12.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 12:15:40 -0700 (PDT) Received: (nullmailer pid 1453516 invoked by uid 1000); Tue, 17 May 2022 19:15:39 -0000 Date: Tue, 17 May 2022 14:15:39 -0500 From: Rob Herring To: Serge Semin Cc: Damien Le Moal , Rob Herring , Pavel Parkhomenko , linux-ide@vger.kernel.org, Serge Semin , Linus Walleij , devicetree@vger.kernel.org, Krzysztof Kozlowski , Hans de Goede , Jens Axboe , linux-kernel@vger.kernel.org, Alexey Malahov Subject: Re: [PATCH v3 04/23] dt-bindings: ata: sata: Extend number of SATA ports Message-ID: <20220517191539.GA1453482-robh@kernel.org> References: <20220511231810.4928-1-Sergey.Semin@baikalelectronics.ru> <20220511231810.4928-5-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220511231810.4928-5-Sergey.Semin@baikalelectronics.ru> 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 Thu, 12 May 2022 02:17:51 +0300, Serge Semin wrote: > The denoted in the description upper limit only concerns the Port > Multipliers, but not the actual SATA ports. It's an external device > attached to a SATA port in order to access more than one SATA-drive. So > when it's attached to a SATA port it just extends the port capability > while the number of actual SATA ports stays the same. For instance on AHCI > controllers the number of actual ports is determined by the CAP.NP field > and the PI (Ports Implemented) register. AFAICS in general the maximum > number of SATA ports depends on the particular controller implementation. > Generic AHCI controller can't have more than 32 ports (since CAP.NP is of > 5 bits wide and PI register is 32-bits size), while DWC AHCI SATA > controller can't be configured with more than 8 ports activated. So let's > discard the SATA ports reg-property restrictions and just make sure that > it consists of a single reg-item. > > Signed-off-by: Serge Semin > > --- > > Changelog v2: > - Add comma and replace "channel" with "SATA port" in the reg property > description (@Damien). > --- > Documentation/devicetree/bindings/ata/sata-common.yaml | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring