Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp682911lqt; Fri, 19 Apr 2024 07:32:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFviRD8EOjIkCO5YOGphIbURsnUYlI+LEsrfcmh5MNJSfH1gcFnBeHf2CIIRz1EqYNK/8ZyM5tAHPR99LA5ETZr5CW38JcqdYzqG3Tcg== X-Google-Smtp-Source: AGHT+IH+uJmIC0I7RQBhbeSKoVmg79GGVq4sWq4D7UGAGIAWq5AKfvXznV6Xi7ljJHDkGwgRFQwQ X-Received: by 2002:a17:906:c35a:b0:a55:5b1b:399a with SMTP id ci26-20020a170906c35a00b00a555b1b399amr1618407ejb.5.1713537169123; Fri, 19 Apr 2024 07:32:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713537169; cv=pass; d=google.com; s=arc-20160816; b=M1rBtjYQT6YeLdKPWfPopeMaUgftIylJEq38c/WhWDmx6KdgRMRge7Wo9FBFfIrIaV PKVl2rIp5RlvrZRtgiX4nUCtnh1spHM4fPbEy8VLxes9emF9j45um3hZcy/aFpfRgdcj AKH5Z6GbtO9elUCWEX9lq0GJ3BPqfWVLH0mvE8cIVhNPtVnqA5AC6pqoWblB9Lu/Mz38 NxRD0rjySqe+nB2YuB8EhzmCk0XE9FuEDXp5/PM2nRZD+i5U7g3qJu/c5pXHeZPJZb5f sNqeNbF/ye5p7JfxyiBEdsMJuopDwUjN2VCWIPKjagmccJLG5NkRZwnAO1BN3gZdSnSz Ii7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=wpubB5RGGs+N9oSpYbdeFOjJ3Vm/Rrf9Ev30ZPMU4sA=; fh=1zrl/EbrxR52TK91D/YW3p72zFKav2SR4n9bg6O9YnA=; b=R8aS4dp/61vTuE3U8ml+A1LSVbXIBfJK3SGQkGqjP3RnmBxNntuEGq7sbxW0G3ieT2 K3ChfmCqqewi8bFuDnzo+yQ4VpE6D4aOBUsuCM8URfmVyPnUNuUCORooqSF0vajwnrlr Za6lLKx4gZGgv93fpo9B1o38DTADq+0+UWuoSIf1ic1ObBWMBdptZEgKKcQXCqdDraqB ZFYlqWM7wis6H/lZRkwhBe6BvIDow8mFbfnztAAjDZLHZKQSZASasZ8r0az5GxtmAugk qgweytNfptt5yx0ZF/Uq2wCygC24uj2Q+aWp9H/wRDkDgiEufLicsL5BgPjbvLKTp2cj aBrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mJYuwsrh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-151590-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151590-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hs16-20020a1709073e9000b00a5575cec71csi2076779ejc.254.2024.04.19.07.32.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 07:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151590-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mJYuwsrh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-151590-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151590-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D2E681F21A1F for ; Fri, 19 Apr 2024 14:32:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5561212E1E2; Fri, 19 Apr 2024 14:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mJYuwsrh" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46D1EB661; Fri, 19 Apr 2024 14:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713537160; cv=none; b=CYgmg1MGXtBL7Y89pOepa8XAfOeFtKUMW2e/djIceK0YQpRiZsTJpn73GFplaJ7IxpjllZVQte6mrL6+wWxzkX/tpt6mp1kng4+NtTrzVs28qYvKtLVB4OLXySmBNLJmtbH7FJs/96kwuMgATRfc5BIKVFI/Sa5iXOjIQt1FMAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713537160; c=relaxed/simple; bh=wpubB5RGGs+N9oSpYbdeFOjJ3Vm/Rrf9Ev30ZPMU4sA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=rKOjevaJe1tXiMI1I+2eMlG70RtsznmSc+hU6ju+EgIB9CZQmpglXEc5PlRev/ocbAbT2Ev3uK5uqOARFDhibYEcIG+7KNBMtZjxAeMaCfHO6CgSrSjEtGzpliwxUAC1QWqK9gpufoP9wzSnzRmxQJ24PYa7buLuNiAXZM3YsYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mJYuwsrh; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2a519ac18b3so1615364a91.2; Fri, 19 Apr 2024 07:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713537158; x=1714141958; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wpubB5RGGs+N9oSpYbdeFOjJ3Vm/Rrf9Ev30ZPMU4sA=; b=mJYuwsrhumsgrR9fTeyWJbnBfOZhyqMgnpc5z+cWVpME/rMUgfSl1die1CkXgDmTGC RStUXdkoUKlfxP1ENaZVBDPEePW8dPYVgmEXmjN12+S2aUtzrwNqH6VaRTCKp1L4MDVd +e7UmTI61b440wjpE3svaEqxmEjtaot9qxksXBFOf3yAXhra2ys8F0ivWrCHjqUm+Du6 KDWKbBUk6qWZwEOcIwOnHNnD/mTHi8q190vumOMc95MsxzTHrDkqtqWZJCsNTzT8tp8M 0vIL2ALIjH/X8ZWEkqJAfifxc5qMp8XhO2sATMi5Xoy7sWvSRAtzIUbUud7Wr/4jYpxB NjFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713537158; x=1714141958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wpubB5RGGs+N9oSpYbdeFOjJ3Vm/Rrf9Ev30ZPMU4sA=; b=DjrCv0gyiqa0bQF8495ZAIUhzRIx5KZ9OBX8f/O74bwFERPaUJXhvSPDaGtHjGeTGD A7jeqqiSpcR7lyT8kigggbVuvTFYpjnZ4NuXizKtiVrX7bofYpEwl82ZcAq1DG/HRxp1 xloR3mXEPw5iV5gMGPLXmra2/eVC33I/FwGWvdoLM9DZxxVhvs5awgjOf4CyoVYse33N 15peCrVqMPJMl/9taCQhRmHdBfeCXwPrxmA6XxjwWtg6ILFss/Y8T7vlVtOcAP2IPn3R 1+S8TIZSj9qj0iHnOp3g3+SA05okhYcLF7BG3hf/e7tQdhf4OgnOit88jcfuu3SD3BJg M4ZQ== X-Forwarded-Encrypted: i=1; AJvYcCW94sK8apuHqZzPxRsteK5nV/gnymRNPBHLGsWXuFQATTlOlUZXQ9Px43KzBqPopRtLuApdZTWpXloWo1MkZxIqyxj5NhMASysnjH1IW6slckTKD8IaCfkojsmd0I/MreH5j2foDIwATS6j48Vw4KCd14SJjC3ZuaJsBF0MudGUiy6SC6Lsvw== X-Gm-Message-State: AOJu0YwYhvARA5pUjYBcz7jkjij15qScGlX/e5SauMzdj2WcqZuXwz3n YO3VQZrNHr3rQ8vvim8aSDTWeIXLiH5qnMpM/hxzL1kJXgTLjcFgP59zsjlCm/Q0yElwlgJHaJp it0mMx2uCldCpfqoFEPwpJIoF1T4= X-Received: by 2002:a17:90b:1651:b0:2a5:99e6:45a with SMTP id il17-20020a17090b165100b002a599e6045amr2284524pjb.29.1713537158490; Fri, 19 Apr 2024 07:32:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240419124506.1531035-1-rilian.la.te@ya.ru> <20240419124506.1531035-3-rilian.la.te@ya.ru> <20240419-glue-pyramid-584728c0076a@spud> In-Reply-To: From: "Konstantin P." Date: Fri, 19 Apr 2024 17:34:44 +0300 Message-ID: Subject: Re: [PATCH v4 2/3] dt-bindings: sc16is7xx: Add compatible line for XR20M1172 UART To: Krzysztof Kozlowski Cc: Conor Dooley , Konstantin Pugin , Vladimir Zapolskiy , Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hugo Villeneuve , Andy Shevchenko , Lech Perczak , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 19, 2024 at 5:24=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 19/04/2024 16:17, Konstantin P. wrote: > > On Fri, Apr 19, 2024 at 5:08=E2=80=AFPM Conor Dooley = wrote: > >> > >> On Fri, Apr 19, 2024 at 03:45:02PM +0300, Konstantin Pugin wrote: > >>> From: Konstantin Pugin > >>> > >>> Add EXAR XR20M1172 UART compatible line into devicetree documentation= . > >> > >> What you're doing is obvious from the diff, why this exar device is > >> related to the nxp devices is what should be mentioned here. > >> > >> Thanks, > >> Conor. > > > > It is already mentioned in cover letter and in previous patches in the > > series. Do I need to repeat it in DTS patch? > > If so, I will do it. > > > > Citation from my cover letter: > > > > EXAR XR20M1172 UART is mostly SC16IS762-compatible, but > > it has additional register which can change UART multiplier > > to 4x and 8x, similar to UPF_MAGIC_MULTIPLIER does. So, I used this > > flag to guard access to its specific DLD register. It seems than > > other EXAR SPI UART modules also have this register, but I tested > > only XR20M1172. > > Yes, in datasheet this register is called "DLD - Divisor Fractional" > > or "DLD - Divisor Fractional Register", calling depends on datasheet > > version. > > Commits must stand on their own. Cover letter is not merged. This is the > place where you add new hardware, so here you describe and explain the > hardware. It is also described in patch 3 in the series. I need to repeat this description in patch 2 too? Cite from patch 3: XR20M1172 register set is mostly compatible with SC16IS762, but it has a support for additional division rates of UART with special DLD register. > Best regards, > Krzysztof >