Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp42590iob; Thu, 12 May 2022 18:02:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxUgkS2bx1W6e+ipsPVdT9teCDvJkffSIhDAZRzJb6N51Fvee4ilS27zMg0GzMzF1LjCp3 X-Received: by 2002:a17:907:8a0f:b0:6f4:3eeb:90db with SMTP id sc15-20020a1709078a0f00b006f43eeb90dbmr2108485ejc.27.1652403743465; Thu, 12 May 2022 18:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652403743; cv=none; d=google.com; s=arc-20160816; b=vzdnKq69GSmAwX8JNWLA8qiA/0PBA2vWUdywE2DlG+HiBeT/x1FrOoy58pr6/dYWrY o9jlVk7vovSOAS1pVFtXyk5gN4Bcst66/aWZP0CILtAkKjyOwvoJdHoCA/joFfYjaeMf WvCGuAddQ9ZKIAgouITV0U6UteNXHn11XrBXrPkfN3ZfYIyas8nwa+1mul13Ts/dI3X7 PwYmrxm4jckU8/PbD7UfAS3gR7CPOuByxrNZZvwwDqUQEwIvVZQ7jylVAB0M06Fs9NjY XjVncvyPlsiqpJs4GHUZWnyO5gdunRvcCdPkD9y2ZlrZiioTnVyVKdiHdrf4kebbTc0D foCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=ZUuA2pZ/f7UU2troMD6CEcY43Cqa5Ipx6IIjJqW0siM=; b=B5zlCTSrLkx4ZFuu/Crku2/vbtgynaSIH1KKa3VeGVwqpS7EbsEakQzcIB+2VczOUG +X0z6dPT3CRtQ/24sG9b+gb2F//p4ehJOkcoDHij7uHDvxiqNOLpI0SBRJXGWOlHWKkX cMKS8b87oIrsGAvkGjYFkkORDam6TXI98huITcYnPnMXtH/VOJu/E9kQepOQTkA8nn6L SuyHZLlmmJgI6NMuzz7ZbaAuFNAToATELqo/kniSInz3P38iTTnPiglJROZZzSfKC36V 4y3T35tBS2N11uaDrh4ZhExIOz3ib2CTU/TZWmlit2zKr9fBvDEljE5NeKjIVcCnffdn m5ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="Q9moOVs/"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Nymkhp9u; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb12-20020a170907960c00b006f3a3d09562si988586ejc.84.2022.05.12.18.01.31; Thu, 12 May 2022 18:02:23 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="Q9moOVs/"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Nymkhp9u; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350725AbiELHIY (ORCPT + 99 others); Thu, 12 May 2022 03:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350766AbiELHIT (ORCPT ); Thu, 12 May 2022 03:08:19 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6D3B517E5; Thu, 12 May 2022 00:08:10 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 7C6A721BB5; Thu, 12 May 2022 07:08:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652339289; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZUuA2pZ/f7UU2troMD6CEcY43Cqa5Ipx6IIjJqW0siM=; b=Q9moOVs/8kADcB6JkjtHMxX2aLgaxAmKEGaBxOfflN7JWLHyx+LKdRPRN0R5M6tXTYMIcS rTC9pF7CI5BLGSJM+0HDdahoxTI0SGZvTQWph53fRSVtlJKBnz3Jrda3t8AUZPg24j0tO0 jWHcdGSUWyw8n2xjKjT/dyWjZFDXhF4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652339289; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZUuA2pZ/f7UU2troMD6CEcY43Cqa5Ipx6IIjJqW0siM=; b=Nymkhp9ueqTVBIy8ofTEPqJyLT3nXbr9RA9KdKvd+RrEq7vEZxGN7JBypO/heMlEQ3SWPe Z9zRzzeu5rx776Aw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4E82213A97; Thu, 12 May 2022 07:08:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cN3dElmyfGI+XgAAMHmgww (envelope-from ); Thu, 12 May 2022 07:08:09 +0000 Message-ID: Date: Thu, 12 May 2022 09:08:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v3 18/23] dt-bindings: ata: ahci: Add DWC AHCI SATA controller DT schema Content-Language: en-US To: Serge Semin , Damien Le Moal , Hans de Goede , Jens Axboe , Rob Herring , Krzysztof Kozlowski , Serge Semin Cc: Alexey Malahov , Pavel Parkhomenko , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220511231810.4928-1-Sergey.Semin@baikalelectronics.ru> <20220511231810.4928-19-Sergey.Semin@baikalelectronics.ru> From: Hannes Reinecke In-Reply-To: <20220511231810.4928-19-Sergey.Semin@baikalelectronics.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 On 5/12/22 01:18, Serge Semin wrote: > Synopsys AHCI SATA controller is mainly compatible with the generic AHCI > SATA controller except a few peculiarities and the platform environment > requirements. In particular it can have one or two reference clocks to > feed up its AXI/AHB interface and SATA PHYs domain and at least one reset > control for the application clock domain. In addition to that the DMA > interface of each port can be tuned up to work with the predefined maximum > data chunk size. Note unlike generic AHCI controller DWC AHCI can't have > more than 8 ports. All of that is reflected in the new DWC AHCI SATA > device DT binding. > > Note the DWC AHCI SATA controller DT-schema has been created in a way so > to be reused for the vendor-specific DT-schemas (see for example the > "snps,dwc-ahci" compatible string binding). One of which we are about to > introduce. > > Signed-off-by: Serge Semin > > --- > > Changelog v2: > - Replace min/max constraints of the snps,{tx,rx}-ts-max property with > enum [ 1, 2, 4, ..., 1024 ]. (@Rob) > --- > .../bindings/ata/ahci-platform.yaml | 8 -- > .../bindings/ata/snps,dwc-ahci.yaml | 123 ++++++++++++++++++ > 2 files changed, 123 insertions(+), 8 deletions(-) > create mode 100644 Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer