{"id":1641651,"url":"http://patchwork.ozlabs.org/api/patches/1641651/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-ide/patch/20220610081801.11854-5-Sergey.Semin@baikalelectronics.ru/","project":{"id":13,"url":"http://patchwork.ozlabs.org/api/projects/13/?format=json","name":"Linux IDE development","link_name":"linux-ide","list_id":"linux-ide.vger.kernel.org","list_email":"linux-ide@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20220610081801.11854-5-Sergey.Semin@baikalelectronics.ru>","list_archive_url":null,"date":"2022-06-10T08:17:42","name":"[v4,04/23] dt-bindings: ata: sata: Extend number of SATA ports","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"0b6e3ee7847c23d65822572af3e6f94b6fec75f5","submitter":{"id":78624,"url":"http://patchwork.ozlabs.org/api/people/78624/?format=json","name":"Serge Semin","email":"Sergey.Semin@baikalelectronics.ru"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-ide/patch/20220610081801.11854-5-Sergey.Semin@baikalelectronics.ru/mbox/","series":[{"id":304159,"url":"http://patchwork.ozlabs.org/api/series/304159/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-ide/list/?series=304159","date":"2022-06-10T08:17:42","name":"ata: ahci: Add DWC/Baikal-T1 AHCI SATA support","version":4,"mbox":"http://patchwork.ozlabs.org/series/304159/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/1641651/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/1641651/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-ide-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["bilbo.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=baikalelectronics.ru header.i=@baikalelectronics.ru\n header.a=rsa-sha256 header.s=mail header.b=awTzV2Xh;\n\tdkim-atps=neutral","ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2620:137:e000::1:20; helo=out1.vger.email;\n envelope-from=linux-ide-owner@vger.kernel.org; receiver=<UNKNOWN>)"],"Received":["from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20])\n\tby bilbo.ozlabs.org (Postfix) with ESMTP id 4LKDPb29LPz9s09\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Jun 2022 18:18:43 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n        id S245131AbiFJISk (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n        Fri, 10 Jun 2022 04:18:40 -0400","from lindbergh.monkeyblade.net ([23.128.96.19]:34618 \"EHLO\n        lindbergh.monkeyblade.net\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n        with ESMTP id S1347273AbiFJISP (ORCPT\n        <rfc822;linux-ide@vger.kernel.org>); Fri, 10 Jun 2022 04:18:15 -0400","from mail.baikalelectronics.com (mail.baikalelectronics.com\n [87.245.175.230])\n        by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E952234699;\n        Fri, 10 Jun 2022 01:18:13 -0700 (PDT)","from mail (mail.baikal.int [192.168.51.25])\n        by mail.baikalelectronics.com (Postfix) with ESMTP id ED91F16A5;\n        Fri, 10 Jun 2022 11:18:58 +0300 (MSK)","from localhost (192.168.53.207) by mail (192.168.51.25) with\n Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 10 Jun 2022 11:18:06 +0300"],"DKIM-Filter":"OpenDKIM Filter v2.11.0 mail.baikalelectronics.com ED91F16A5","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=baikalelectronics.ru; s=mail; t=1654849138;\n        bh=rfP9tv07m8KPasmOo6D0Sv4vVtteEhbDo7iguTqD2lc=;\n        h=From:To:CC:Subject:Date:In-Reply-To:References:From;\n        b=awTzV2XhS0V3QgbkGrZIaLGiw3kmLSJ9x3leLtder/x9j88nYOZHLv8eVron1H0y2\n         RJRyYoI5DLItdtCo3Tdn6YwCBbW7wH9WdAuu0r+BPIuotTRXRRARbT0G5kfZe8vgeo\n         KZtJdAdpnyWajUxNFUBPhFXG65zBUbE/WGFsCVh0=","From":"Serge Semin <Sergey.Semin@baikalelectronics.ru>","To":"Damien Le Moal <damien.lemoal@opensource.wdc.com>,\n        Hans de Goede <hdegoede@redhat.com>,\n        Jens Axboe <axboe@kernel.dk>, Hannes Reinecke <hare@suse.de>,\n        Rob Herring <robh+dt@kernel.org>,\n        Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n        Linus Walleij <linus.walleij@linaro.org>","CC":"Serge Semin <Sergey.Semin@baikalelectronics.ru>,\n        Serge Semin <fancer.lancer@gmail.com>,\n        Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>,\n        Pavel Parkhomenko <Pavel.Parkhomenko@baikalelectronics.ru>,\n        <linux-ide@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n        <devicetree@vger.kernel.org>, Rob Herring <robh@kernel.org>","Subject":"[PATCH v4 04/23] dt-bindings: ata: sata: Extend number of SATA ports","Date":"Fri, 10 Jun 2022 11:17:42 +0300","Message-ID":"<20220610081801.11854-5-Sergey.Semin@baikalelectronics.ru>","In-Reply-To":"<20220610081801.11854-1-Sergey.Semin@baikalelectronics.ru>","References":"<20220610081801.11854-1-Sergey.Semin@baikalelectronics.ru>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Content-Type":"text/plain","X-ClientProxiedBy":"MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25)","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n        DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,\n        T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no\n        version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n        lindbergh.monkeyblade.net","Precedence":"bulk","List-ID":"<linux-ide.vger.kernel.org>","X-Mailing-List":"linux-ide@vger.kernel.org"},"content":"The denoted in the description upper limit only concerns the Port\nMultipliers, but not the actual SATA ports. It's an external device\nattached to a SATA port in order to access more than one SATA-drive. So\nwhen it's attached to a SATA port it just extends the port capability\nwhile the number of actual SATA ports stays the same. For instance on AHCI\ncontrollers the number of actual ports is determined by the CAP.NP field\nand the PI (Ports Implemented) register. AFAICS in general the maximum\nnumber of SATA ports depends on the particular controller implementation.\nGeneric AHCI controller can't have more than 32 ports (since CAP.NP is of\n5 bits wide and PI register is 32-bits size), while DWC AHCI SATA\ncontroller can't be configured with more than 8 ports activated. So let's\ndiscard the SATA ports reg-property restrictions and just make sure that\nit consists of a single reg-item.\n\nSigned-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>\nReviewed-by: Hannes Reinecke <hare@suse.de>\nReviewed-by: Rob Herring <robh@kernel.org>\n\n---\n\nChangelog v2:\n- Add comma and replace \"channel\" with \"SATA port\" in the reg property\n  description (@Damien).\n---\n Documentation/devicetree/bindings/ata/sata-common.yaml | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)","diff":"diff --git a/Documentation/devicetree/bindings/ata/sata-common.yaml b/Documentation/devicetree/bindings/ata/sata-common.yaml\nindex 5a31a902618d..58c9342b9925 100644\n--- a/Documentation/devicetree/bindings/ata/sata-common.yaml\n+++ b/Documentation/devicetree/bindings/ata/sata-common.yaml\n@@ -49,10 +49,9 @@ $defs:\n     properties:\n       reg:\n         minimum: 0\n-        maximum: 14\n         description:\n-          The ID number of the drive port SATA can potentially use a port\n-          multiplier making it possible to connect up to 15 disks to a single\n-          SATA port.\n+          The ID number of the SATA port. Aside with being directly used,\n+          each port can have a Port Multiplier attached thus allowing to\n+          access more than one drive by means of a single SATA port.\n \n ...\n","prefixes":["v4","04/23"]}