Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp281165iof; Mon, 6 Jun 2022 03:26:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0Cf8TqG0Exdm1Z4gATrTIoGLHMjw5fGHoILYRO8kNpNHNK5ncVmA3P8Ag1xhq4G4cXIF9 X-Received: by 2002:a17:903:2451:b0:167:8179:62a8 with SMTP id l17-20020a170903245100b00167817962a8mr3775195pls.148.1654511195905; Mon, 06 Jun 2022 03:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654511195; cv=none; d=google.com; s=arc-20160816; b=khXd86p8pHBT2K7nnlLTU6kqUdB5b178Hcr0xFgsPDSd/DTYToN9SayziL54/WO7mz GRQcCTMM+7Kyq0zjlh3hmuZNmF3PgVZtEuwdio1q2F7EQDM8dxQE0F2d5TfpJcrAEKVv JJayEPgDO92JG5y6EHWRiCntI3g23TvTSlCRbbcv3eIeZeFLlxxyJXG2o7v5bR7N6CRb cqmEM7xm2fNTybYWbLxW6Sk2qtJ3YL4KPlccBxKVvMwUequaTOhhxSbQjnB/ebk33Xkc VyZjNN4EsOlywjPumRvSM9AdcnT2sLoRr4MGw/cBLC0wUAjKB5oOnSXjwK0FGoAgJute T0/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RXoRUDRePD8tfzt5eFy7imjNyyoyZLTSgdj/qy76BC0=; b=kx8NJ7ht1XLZ7SD2cCccviW/27yVpEUHucak+9a/ndcpQiOx8kxTC4OEr7PKP2EttH OnnJNmJrNG3CklGKONKNMLHdy0G8CKhFf9x52yj8W9ZN4cHh1g02lk2Hg47z5SePMwAb mq5J98P+p7fcTplHY0UxpGVjZZyqbkuZIyoTgIgd8LdyjmaWmmruwZ5O2TZRn/cyPsvW m4GkmK/dJWZD+P3iXRMILuMWZyDP3LA/Do/aMn4AJOmEaCeOeOG5PUdXgDCL2g0VlWtb CiFHTmeGV79KoYx7OLiTv5APO4nKfdCBKo695cjcKJpls8eB4s2yLCtvnc1WJnT0SsCm zJ0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AYAuQAyW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ob3-20020a17090b390300b001e8873f6526si2777685pjb.143.2022.06.06.03.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 03:26:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AYAuQAyW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E4AC913C347; Mon, 6 Jun 2022 03:06:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233469AbiFFKGG (ORCPT + 99 others); Mon, 6 Jun 2022 06:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233270AbiFFKFc (ORCPT ); Mon, 6 Jun 2022 06:05:32 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAC4864722; Mon, 6 Jun 2022 03:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654509928; x=1686045928; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7X5MPO2HXoQHC4qsFsROjNvsfaX0x10tatJ5YNAZRDs=; b=AYAuQAyWMqL1ZH3i1upJZGOWALb3bFR4oRzJ9N0E1sNuEuBNER4QLqDi WSiyYhVY9KpFPHE31I8DI6G8GYIoyv3D74D+rk7+0o2IwPV95w2Ka6Ydz xcHsLd7sXIObNlbriSFHTyWKhhZL1MISzAliktRQFk4+E2eXSDooXVkwm ARgvGCBLvYqcoIX2kb6k7Mw7HZ4MZebJq/NLwzWhA/VOUq+KXwV79hh23 ZCC86MyCHMQ9gd0qMw5Frmfzfa5OdDNLEg15sqDwZCuy8G9MDooa6j6H+ 4GiQqCO2FTbTiv4pDVBLK4Cj04TytLXXDpSX8/c+jdwniEjEpnI0OHnaM w==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="362987037" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="362987037" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:05:07 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635523506" Received: from amkossek-mobl1.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.252.57.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:05:04 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-serial@vger.kernel.org, Greg KH , Jiri Slaby , Florian Fainelli , Ray Jui , Scott Branden , Broadcom Kernel Team , Nicolas Saenz Julienne , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH 05/36] serial: 8250_bcm2835aux: Use serial8250_em485_supported Date: Mon, 6 Jun 2022 13:04:02 +0300 Message-Id: <20220606100433.13793-6-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> References: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 bcm2835aux uses em485, fill in rs485_supported accordingly. Signed-off-by: Ilpo Järvinen --- drivers/tty/serial/8250/8250_bcm2835aux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..d9f1e618cfbd 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -108,6 +108,7 @@ static int bcm2835aux_serial_probe(struct platform_device *pdev) up.port.flags = UPF_SHARE_IRQ | UPF_FIXED_PORT | UPF_FIXED_TYPE | UPF_SKIP_TEST | UPF_IOREMAP; up.port.rs485_config = serial8250_em485_config; + up.port.rs485_supported = &serial8250_em485_supported; up.rs485_start_tx = bcm2835aux_rs485_start_tx; up.rs485_stop_tx = bcm2835aux_rs485_stop_tx; -- 2.30.2