Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1375328rwb; Fri, 23 Sep 2022 11:43:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AxYQUTLbtUtxm1jtMce+ckkcL3g5phsW4GYUffnG1SoCQSAt8JAl1f6CQDVj21LorxoPr X-Received: by 2002:a17:90a:203:b0:200:8df6:84c with SMTP id c3-20020a17090a020300b002008df6084cmr22131316pjc.24.1663958620522; Fri, 23 Sep 2022 11:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663958620; cv=none; d=google.com; s=arc-20160816; b=N2lFdp3YvN85OPbuon8P3fjoPbG2zA3wp+n0tXQe3xwB1m8Xvf8RWA6zcJm5qFi+74 TmUuMJObO5lbzHMFrptS94PXkgcLIPCCWeZHbMYFHgtLStdeblbBg18cTvQKzSAMVQrw lxdycKlXk6SiqpGmvl/+ecxjC3f6UchGEs6aR7Bar4wzBfhazPMVdvX2kf0QtC+7L5x+ 0ihv2ppATvKjHTU50adDgnUpdbWO36+AjxLJPYwaNDgd9UR4oUpUtHddq6+mjvF3KDjl r7Tl3JOr6idu3QkgBAu3TO8GjpysmfA+vmVz8yFponvphRnK6Tz7f1d/fuZ+B1ZJVhLA Sx5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xBNE0AId8c+QJlEHkA2lQt/V1BsZbyCAHwjJTEQiHr8=; b=mH8nd8tvg8q1qQg0rWl5AeRdjpNqsVfdAdP1PWAjaowXs6MxqMdL4lvbi+OX1Veqgi XBqbTY8zIKYSxXFktCq/koMbC6O79M0CapNYEoYi5RxfuhDpvPiB8C0btbS7ApVa7AdT 8RB8lo0DLgOksANm+caRt/kUV23KECBex2taD02AX2gvKGS//DXknYdaDCowFywxY0Tk 6KaF4JF0JDcb4JhNtyMFxNF4nmc1JL73dgpiPM2vjnwdx7o8v7B842BP5jxNILqmw+RM KzBM8ucP02wrSoqx66nGn53eZp+W+nTfJ3Z+2ECUcZOypB2s91Zz6zf4DQoQpczFsulm sRuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uUpxDvNO; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a631a06000000b0043c24d2c170si4174183pga.126.2022.09.23.11.43.28; Fri, 23 Sep 2022 11:43:40 -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=@kernel.org header.s=k20201202 header.b=uUpxDvNO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232683AbiIWSFF (ORCPT + 99 others); Fri, 23 Sep 2022 14:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232881AbiIWSEd (ORCPT ); Fri, 23 Sep 2022 14:04:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF83148A11; Fri, 23 Sep 2022 11:02:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4F10D6109A; Fri, 23 Sep 2022 18:02:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82104C433D6; Fri, 23 Sep 2022 18:02:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663956149; bh=vJ6/DgXwp3pd7Ho4JNS0CsS1fC7rRPQIoSmqkclc0a8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uUpxDvNO//99GcCpHygBdagS+uLqeL7PrG2BTvLtoajNNSsVMf9fyAbjlYFjnPFmS FZpNCWPLSFOOXF6zIHjkhHvEG/0Znn8Rr/E0bZdRjBFxcltdF6oGmaKwmXZVj8M+fl S4nfIBMJk5stmdQsKjcHECtiy0+UjYkOULqK9Dgqoh4ZS2iSScVQ+FTSoHltdxQMI8 ehjGcuMsuLwQ1Ym/mYRvNocppAAngMP5m950LKnK/aaAO5Q4nWK5JOG+kN/1diUShJ AstknDQ+isR0LIfWAAPUJOYKWH0NRgxTJkDI1Pg0BZNSrQ03m5Kdp0ybF8WnVGpZUj kPsvcQHVvw4jg== Received: by pali.im (Postfix) id 6792D677; Fri, 23 Sep 2022 20:02:26 +0200 (CEST) Date: Fri, 23 Sep 2022 20:02:26 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn Cc: maukka@ext.kapsi.fi, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, arnd@arndb.de, olof@lixom.net, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 3/3] ARM: orion5x: Add D-Link DNS-323 based on Device Tree Message-ID: <20220923180226.vmjcefxlujg2r6u3@pali> References: <20220427162123.110458-1-maukka@ext.kapsi.fi> <20220922202458.7592-1-maukka@ext.kapsi.fi> <20220922202458.7592-4-maukka@ext.kapsi.fi> <6dc27862f8460f875c31ad2de56baa9f@ext.kapsi.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Friday 23 September 2022 14:12:24 Andrew Lunn wrote: > > > > + if (of_machine_is_compatible("dlink,dns323a1")) { > > > > + writel(0, MPP_DEV_CTRL); /* DEV_D[31:16] */ > > > > > > I spotted this in dns323-setup.c as well. Do you have any idea what it > > > does? > > > > > > > No idea. I have tried to replicate what was in dns323-setup.c as exactly as > > possible. > > I can try to leave it out and see if anything changes. > > It is best to keep what we don't understand. It will be there for a > reason. > > Andrew Hello! I tried to index all publicly available Marvell SoC documentations into kernel documentation subfolder: https://docs.kernel.org/arm/marvell.html For Orion there is linked Datasheet and User Manual, so you could try to find in those documents that mentioned register and check what it is doing.