Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1308343lqb; Thu, 18 Apr 2024 06:25:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVGpLFC3dqLNGV2DAuUXq37e8Ai6U8u51arQIMKbdkaDVkT9viyQFatjNx49BexAMpAJFOtofaW+tACJ22sQZTCrbHLf0j0AL0INcblw== X-Google-Smtp-Source: AGHT+IHFIN/qrl0QiaJBwfHjOEoSlZkqBZ412GcYCQfzeY79M9LtW5ePOq4HUrqfCdsUKTES69Ee X-Received: by 2002:a19:5e41:0:b0:513:da4d:a9a6 with SMTP id z1-20020a195e41000000b00513da4da9a6mr1618832lfi.46.1713446741044; Thu, 18 Apr 2024 06:25:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713446741; cv=pass; d=google.com; s=arc-20160816; b=HI7XKwgsxVwDS6w32Am46sNlOiUl7he8TxysrJoIjDxVAwyXZQ9h1uqlHcGBfMSxha vEGva2OKdi73a2TqDfNKZVhnkcX48dAlxN0vHcO29Mvw6jFZf5tDq0nraRBb31kdF6uM OLCuIeNKnms3Z/SyznGED06qAxxZuWuHPjMFiFwGS/L4pvADyEHJuo/mZpc+fXFAy6qG lKsNIGLGggKrvGPQfW6bjvblN/yYNSsti+CGBbh00ZT9/zFMERzqQ1ZuqgYWj1jHKtIc 0GIu68YP2hpXZNzacgbZFjYUEecCskNgQFrIBJ3pLySZxmyOMoYvkYsv+Gbw1Ic2+V4X Iuww== 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=DVS5WHJ+HqA1KWKdi8bTsjkikj5AFrUnyRjvjUbKEEA=; fh=VenEdBSFRXInPYJlmcOSh6P/Z5cmgH8E/xAYaD0W9RA=; b=xn0TnKcg+An6L+YtNz4AjdhB6AuL3/EstRtEi+cwoKG8bsYo3idRJbZfQzOPXEoP3G 6H/0Ps6P7RFlDdmUgn11U3H4u1pcH/j7yPSZ2ndfEKNudBZazdW+eyfyAuAsUsqlawEm O8Gf21ORvRwEhgYDg5DrvDR2R/eKHf60fRBOAvhNgtW9GPbWpc9Hn1WjodZgBf2sIb7S UG3qIVIBgnERgXpu2xA2JnzcOl2hAI2/v1FuLUTOYMYIRN14BC7lCg3kLe1rzxPeyjVT ImexBw1Imwk3TAJtr/3Bw+tMW3WDmStZEBvoEFMcSJEhgdNfz1wanOaurYPuLFcLa1Cc M+Ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ya.ru header.s=mail header.b=QYJYysT4; 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-150165-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150165-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ya.ru Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id go18-20020a1709070d9200b00a520a40633csi944754ejc.1007.2024.04.18.06.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 06:25:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150165-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=@ya.ru header.s=mail header.b=QYJYysT4; 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-150165-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150165-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B2B3B1F2371E for ; Thu, 18 Apr 2024 13:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76C4415FA7F; Thu, 18 Apr 2024 13:25:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ya.ru header.i=@ya.ru header.b="QYJYysT4" Received: from forward400b.mail.yandex.net (forward400b.mail.yandex.net [178.154.239.159]) (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 199A315CD50; Thu, 18 Apr 2024 13:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713446733; cv=none; b=LwnDTH/G/Ui2bzCOa7oL6hc7GfnB6bww/uoQu08JU7qUjv80SaD1EjcSkJkzh8Tklf611tqrs1R3iCC/ahTSYvqA8eQSH16bJFs7lbv0W5lsCLCtj8iVhCzwpRpfVoUcCZEDNA2Pj2kVkJO1qAkENR9zKdg7ykrC8RyjrjykOZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713446733; c=relaxed/simple; bh=6WR78XuM8lUYQarv1w5dNxtl+kh5e6PBz0ljAp9dGsM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JTj8d05JpqtzlzSZj1KFWnVGK0IL7rpvy8P6Xd9Nu6nSK01f5MilDf9bQs9Z406TSa7QZ7AUFKDzcB9h5BnboXLUV/4STDO8k+tshVJZTgK7iw4MBLJhcM07kgrCe0B/kzCYI9FqX1t+NXBG98uA82lpdwn3RFlGvgbfoPkuJ7k= 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=QYJYysT4; arc=none smtp.client-ip=178.154.239.159 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-38.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net [IPv6:2a02:6b8:c05:84:0:640:40f8:0]) by forward400b.mail.yandex.net (Yandex) with ESMTPS id 9CE4C7545B; Thu, 18 Apr 2024 16:25:19 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id HPFFWsDX0Cg0-tfjEwGt0; Thu, 18 Apr 2024 16:25:18 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1713446718; bh=DVS5WHJ+HqA1KWKdi8bTsjkikj5AFrUnyRjvjUbKEEA=; h=Message-Id:Date:Cc:Subject:To:From; b=QYJYysT4pboOFWTNMJVyx+BY0+KBJ7siT49IIp4Q4OLCbbPfAmEgqa94uouumbEhR +oFc4JEDEIQEjXp3Suq5CuW3Hvh3ZZY4MpIYljnCQ3RuOM09QUWpYkipSQD6UMwKOC nPmctG7QZUCFrLMt2JWvsE5Kgv8fpz6OygRHTub8= Authentication-Results: mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net; dkim=pass header.i=@ya.ru From: Konstantin 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 0/3] add support for EXAR XR20M1172 UART Date: Thu, 18 Apr 2024 16:25:02 +0300 Message-Id: <20240418132508.3447800-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. Konstantin (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