Received: by 2002:a05:7208:2204:b0:82:bbfa:f723 with SMTP id s4csp332901rbb; Thu, 18 Apr 2024 07:06:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMQACZmWgXOqOrOpN/QXgXeHzYFp8zItoeRG4frDof8s+svGOKgARdfLWmB65UyMOjOltq9V1gBw9UoOGkR/eUxOVhYU9cRIiw/M5RVw== X-Google-Smtp-Source: AGHT+IGtOcUKwFJ8Zg0niRuBM9VBEFsFXN1mBJKeFaqGKExPXH4pmqZEhsZzWYUiBe2C7+DEAbeY X-Received: by 2002:aca:916:0:b0:3c7:2a49:9777 with SMTP id 22-20020aca0916000000b003c72a499777mr3195993oij.53.1713449198651; Thu, 18 Apr 2024 07:06:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713449198; cv=pass; d=google.com; s=arc-20160816; b=QJicq4QliUOy6mNqT9fPC46KUirsT3lExf80MOIarpaYNBvaMsKODfAugg9yOLgUKY BeO2w/xdTsguXsdvw4WhDVMNnu9q5HHRyLsZvqVTLnoQL5lE4mOPwoxfd4RgV15g06Mr 1lEZpv7y0Gs8ZknTiJ2V8KG+BfRjf0rbnyaKe6DxFj4j2Ix/Lez4cohh0TI8+uuXYjN1 e1jxUp1M+x+574w+9Aoe16jJAkZvUtV9GpmYsCxP4PuilPjhurWHLOpxUxDK8t5OJ71o HiqEeZ4RHPBYmNCTiE/OpJqclPT7nxq+KDUSsQOMwKUT5WxofI2l0W54HCpq9pv6axqA Rf1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=FfhBEk6M6XmT6yLhIJFRQ99L15wWJZxAlbi/OQfzRCo=; fh=VenEdBSFRXInPYJlmcOSh6P/Z5cmgH8E/xAYaD0W9RA=; b=i74Ld46MnE3CROPUa0z0NH3NN6TzlbHHECYGRa4t9I54qeK75sxDse0TjhaoTN1vh6 HDcAYhDiCCJWPPjjeroAOBKp23YF7ZKDMfTFYKx06UKOb3/3hwE0KG0O53sh1Pmqgd1K +ZPIAxnzZZD6PGRuHr3zizcH9cJZ9Fm4Vqym4Up7r2FRWyS9yGETGgCNCphY9F93IZrW S6lDiJ0fgoUPfYPEkrWE6O7qSJOthMrqjYqjduhwvvJCF2bQ50VQ/UGKoo46ZLIh0/fj 5Zq3pAup6Wn1+jpZA5wIqTgxgOY2GN94NDX7aez46oceHm4ptajR9CK99s8nuyRI2zra vIqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ya.ru header.s=mail header.b=NDFuMdPF; arc=pass (i=1 spf=pass spfdomain=ya.ru dkim=pass dkdomain=ya.ru dmarc=pass fromdomain=ya.ru); spf=pass (google.com: domain of linux-kernel+bounces-150244-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ya.ru Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 43-20020a9f23ae000000b007e8545580e2si213757uao.129.2024.04.18.07.06.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:06:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150244-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ya.ru header.s=mail header.b=NDFuMdPF; arc=pass (i=1 spf=pass spfdomain=ya.ru dkim=pass dkdomain=ya.ru dmarc=pass fromdomain=ya.ru); spf=pass (google.com: domain of linux-kernel+bounces-150244-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ya.ru 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C24B21C2383C for ; Thu, 18 Apr 2024 14:05:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33DCF165FC9; Thu, 18 Apr 2024 14:05:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ya.ru header.i=@ya.ru header.b="NDFuMdPF" Received: from forward400c.mail.yandex.net (forward400c.mail.yandex.net [178.154.239.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BD781649DE; Thu, 18 Apr 2024 14:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449119; cv=none; b=s9Nsyq6lXA1beRjR1i2TExkS3aeiNp6d/alQ9dxlWm/13YsCTWmtaWF3TFO7qsT+DS2YYSfTZB8wxDtc84zkUTaW5/dxxQ3pFIkKqm9ZjIFZQfLlXfNcXWHiOb7Uj1AxIu4RWXhq2wa6Bb8lGXPex0tdZAwccK7WyBkfjVAbc8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449119; c=relaxed/simple; bh=ex+30tcMVfxyUUaSDHrkFZx2Ws3xvFmrPzJt0E2CC+g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rsJ2utA/4LBiiyXsJKK7TUWlHwwmSxcbRQd+d7YUiLW8yUFZbWYYLgYbnDwQU/PgtK6srZ9U+7PBlpiUmpEIkNmkzwxMOZstHSCVRd5odc3tSauH9fkD6+CIamBT5FZN3OR4TjYvyyV7RR2EDFIPMHe6QO8g7497M2Xgktma+aQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ya.ru; spf=pass smtp.mailfrom=ya.ru; dkim=pass (1024-bit key) header.d=ya.ru header.i=@ya.ru header.b=NDFuMdPF; arc=none smtp.client-ip=178.154.239.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ya.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ya.ru Received: from mail-nwsmtp-smtp-production-main-25.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-25.sas.yp-c.yandex.net [IPv6:2a02:6b8:c08:c8ad:0:640:7c75:0]) by forward400c.mail.yandex.net (Yandex) with ESMTPS id 0FEDB68E2C; Thu, 18 Apr 2024 16:57:45 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-25.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id gvF5FWNoJ8c0-8KFtarnq; Thu, 18 Apr 2024 16:57:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1713448664; bh=FfhBEk6M6XmT6yLhIJFRQ99L15wWJZxAlbi/OQfzRCo=; h=Message-Id:Date:Cc:Subject:To:From; b=NDFuMdPFBykaLLJO4cPMMoM0oEL4+cGP/LsBY7eK6lCEPgS6x38S6Ofvr0oTrCetD dxmPDbmKRe4PoxW6oAPp09/0nEEtptRqGfFPRQ+5VNJhKNLYJnyrlhaB4NQ1y2AAjJ 22ZDw1NDMjIxWq/osN6ftBObHAerkqy8W5h5uQCY= Authentication-Results: mail-nwsmtp-smtp-production-main-25.sas.yp-c.yandex.net; dkim=pass header.i=@ya.ru From: Konstantin Pugin To: Cc: Konstantin Pugin , Greg Kroah-Hartman , Jiri Slaby , Hugo Villeneuve , Andy Shevchenko , Lech Perczak , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 0/3] add support for EXAR XR20M1172 UART Date: Thu, 18 Apr 2024 16:57:31 +0300 Message-Id: <20240418135737.3659498-1-rilian.la.te@ya.ru> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Konstantin Pugin 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. Changes in v2: use full name in git authorship Konstantin Pugin (3): serial: sc16is7xx: announce support of SER_RS485_RTS_ON_SEND serial: sc16is7xx: Add bindings documentation for EXAR XR20M1172 UART serial: sc16is7xx: add support for EXAR XR20M1172 UART .../bindings/serial/nxp,sc16is7xx.yaml | 1 + drivers/tty/serial/sc16is7xx.c | 56 +++++++++++++++++-- 2 files changed, 53 insertions(+), 4 deletions(-) -- 2.34.1